What happens if indexed node is the page itself and such page is the top level page in the website? Such case is not covered by the test.
IMHO if that happens. the node.getParent() call will be returning root node of the repo and followup call to get metadata will fail on the root node. Either fix it or add a test proving that nothing bad happens.

Change By: Jan Haderka (13/Jun/13 2:46 PM)
Resolution: Fixed
Status: Resolved Reopened
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