[
http://jira.magnolia.info/browse/MAGNOLIA-2086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16048#action_16048
]
Philipp Bracher commented on MAGNOLIA-2086:
-------------------------------------------
I committed a first atemp to solve the problem:
- removed mix:versional declaration for MetaData
- added mix:referencable for all node types
- removed auto adding code in DefaultContent
- cleaned bootstrap files by using
info.magnolia.setup.for3_6.CleanBootstrapFiles
- mix versionable is now added in the VersionManagerImpl
- we version only from mgnlVersion workspace so that is where I add the mixin
Please note that this commit is very much experimental (and does not include
dms, ...) there are also not yet any update tasks provided
> extensive usage of mix:versionable slows down the system
> --------------------------------------------------------
>
> Key: MAGNOLIA-2086
> URL: http://jira.magnolia.info/browse/MAGNOLIA-2086
> Project: Magnolia
> Issue Type: Improvement
> Affects Versions: 3.5.4
> Reporter: Philipp Bracher
> Assignee: Boris Kraft
> Priority: Critical
> Fix For: 3.6
>
>
> Every node in magnolia gets the mix:versionable assigned no matter if the
> node is foreseen to be versioned or not (mgnl:contentNode, mgnl:metaData,
> ..). This slows down the saving process of created nodes a lot (about factor
> 4).
> As we only version pages the mixin is needed on pages only.
> The steps involved in the process would be:
> - change info.magnolia.cms.core.DefaultContent.DefaultContent(Node, String,
> String, AccessManager)
> - use mix:referencable (otherwise the activation mechanism is broken)
> - change default nodetype definitions
> - remove mixin from metaData
> - add mixin to content (but not contentNode)
> - update task for existing content
> - use a proper nodetype for dms documents (not mgnl:contentNode)
--
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/
----------------------------------------------------------------