[ 
http://jira.magnolia.info/browse/MAGNOLIA-2372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18322#action_18322
 ] 

Hudson CI server commented on MAGNOLIA-2372:
--------------------------------------------

Integrated in !http://hudson.magnolia.info/nocacheImages/16x16/blue.gif! 
[magnolia_main-trunk 
#80|http://hudson.magnolia.info/job/magnolia_main-trunk/80/]
      / MAGNOLIA-2407 : introduced new mgnl:folder node type. NT_FOLDER is now 
mgnl:folder instead of nt:folder


> Nodes of the type ItemType.FOLDER cannot  be activated
> ------------------------------------------------------
>
>                 Key: MAGNOLIA-2372
>                 URL: http://jira.magnolia.info/browse/MAGNOLIA-2372
>             Project: Magnolia
>          Issue Type: New Feature
>          Components: core
>    Affects Versions: 3.6.1
>            Reporter: Will Scheidegger
>            Assignee: Gregory Joseph
>             Fix For: 3.7
>
>         Attachments: add_mgnl_folder_nodetype.txt, ItemType.diff.java
>
>
> Problem:
> - info.magnolia.cms.security.HierarchicalUserManager (magnolia-core) places 
> the user accounts into a hierarchical node structure of the type 
> ItemType.FOLDER.
> - info.magnolia.cms.core.ItemType.NT_FOLDER = "nt:folder";
> -> "nt:folder" is not minxin:referencable
>       -> therefore does not have a UUID
>               -> therefore cannot be activated / deactivated
>               -> therefore also produces an error message when being deleted
> Solution:
> - Changed ItemType.NT_FOLDER to "mgnl:folder"
> - added this custom nodetype definition to custom_nodetypes.xml:
> <nodeType hasOrderableChildNodes="true" isMixin="false" name="mgnl:folder" 
> primaryItemName=""><supertypes><supertype>mix:referenceable</supertype><supertype>nt:folder</supertype></supertypes><propertyDefinition
>  autoCreated="false" mandatory="false" multiple="false" name="*" 
> onParentVersion="COPY" protected="false" 
> requiredType="undefined"/><childNodeDefinition autoCreated="false" 
> defaultPrimaryType="" mandatory="false" name="*" onParentVersion="COPY" 
> protected="false" 
> sameNameSiblings="true"><requiredPrimaryTypes><requiredPrimaryType>nt:base</requiredPrimaryType></requiredPrimaryTypes></childNodeDefinition></nodeType>
> Note:
> I don't know where else nodes of this type are being used. Therefore I cannot 
> say if this change affects anything else. For me everything has worked fine 
> after this change.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia.info/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------

Reply via email to