[ http://jira.magnolia-cms.com/browse/MAGNOLIA-3361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jan Haderka updated MAGNOLIA-3361: ---------------------------------- Fix Version/s: 4.4 (was: 4.4.x) > versioning: ContenVerstion.getContent(), hasContent() and getChildren() are > not all working as they should > ---------------------------------------------------------------------------------------------------------- > > Key: MAGNOLIA-3361 > URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3361 > Project: Magnolia > Issue Type: Bug > Components: core > Affects Versions: 4.3.8 > Reporter: Philipp Bärfuss > Assignee: Philipp Bärfuss > Priority: Critical > Fix For: 4.3.x, 4.4 > > > getContent(), hasContent() and the getChildren() variations are not following > the same principles. They should return direct children if they were included > in the version rule and children of the current node if they are no matched > by the version rule. > The idea of VersionContent is supposed to hide the fact that it resides in > the version store. > Example: A page version includes all sub paragraphs but not the sub pages. If > you read a paragraph it should only return direct children, if you read sub > pages it should only use the current node. > The actual situation is: > - getContent() and hasContent() only return direct Children > - getChildren() works as expected but the method getChildren(filter, pattern, > comp) is not implemented so as soon the node gets wrapped the getChildren() > methods return different entries. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.magnolia-cms.com/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <dev-list-unsubscr...@magnolia-cms.com> ----------------------------------------------------------------