![]() |
|
|
|
|
Change By:
|
Zdenek Skodik
(22/Mar/13 11:40 AM)
|
|
Description:
|
Imagine you have a hierarchy like: {noformat} item subnode subsubnode {noformat} Calling "delete all" on the item let the method
populates
populate
the nodes in the order reflecting the hierarchy in repository ({{subnode}} first, {{subsubnode}} second). Hence while looping over this collection, we call {{#executeNode()}} (aka {{node.delete()}}) for {{subnode}} first, which is still ok, but once it's about to {{#executeNode()}} upon {{subsubnode}} it ends up in {{InvalidItemStateException}} (attached) because the {{subsubnode}} has been removed already by the previous call.
As a workaround one can still do just simple "delete"
(hierarchical structure)
instead of "delete all".
|
|
|
|
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]>
----------------------------------------------------------------