Issue Type: Improvement Improvement
Assignee: Unassigned
Components: core
Created: 15/Oct/13 2:15 PM
Description:

The change introduced in MAGNOLIA-5337 means that all subnodes are processed (i.e. the mixin mgnl:deleted is added, mgnl:renderable is set to ui-admincentral:deleted and mgnl:lastModified is updated).

This is not a big problem for "slim" node types like contacts, categories etc., but it means a huge overhead for e.g. pages, where a single page can contain a big number of subnodes (areas, components) - especially because node.getSession().save(); is called for each node.

Originally there was a filter just for mgnl:content node types, but this led to problems described in MAGNOLIA-5337. The fix there actually works, but introduces the above described problem.

The solution could be to pass a list of allowed node types to the MarkNodeAsDeletedCommand and process only nodes with such types.

Fix Versions: Backlog - Next
Project: Magnolia
Labels: command
Priority: Neutral Neutral
Reporter: Jozef Chocholacek
Security Level: Public
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to