[
http://jira.magnolia.info/browse/MAGNOLIA-2372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Will Scheidegger updated MAGNOLIA-2372:
---------------------------------------
Attachment: add_mgnl_folder_nodetype.txt
The nodetype definition for mgnl:folder which I inserted in the text got
corrupted by confluence. Therefore I attached it again in a text file.
> Nodes of the type ItemType.FOLDER cannot be activated
> ------------------------------------------------------
>
> Key: MAGNOLIA-2372
> URL: http://jira.magnolia.info/browse/MAGNOLIA-2372
> Project: Magnolia
> Issue Type: Bug
> Components: core
> Affects Versions: 3.6.1
> Reporter: Will Scheidegger
> Assignee: Philipp Bracher
> Priority: Minor
> Attachments: add_mgnl_folder_nodetype.txt, ItemType.diff.java
>
> Original Estimate: 0.01d
> Remaining Estimate: 0.01d
>
> 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/
----------------------------------------------------------------