Issue Type: Bug Bug
Affects Versions: 5.3
Assignee: Unassigned
Attachments: Screen Shot 2014-05-09 at 09.20.08.png
Components: app framework, content app
Created: 09/May/14 9:19 AM
Description:

Tree view of configuration app get out of sync when deleting an element.
To reproduce:
Go to config app, create a new folder at the root level, click the delete action, confirm:

  • The deleted folder is still visible
  • When refreshing the tree, we got the following error

In fact the browser presenter still refers to the deleted folder and try to refresh the action availability on a deleted item.

javax.jcr.ItemNotFoundException: e50188c4-0179-4062-8e6f-1916566ceda1
	at org.apache.jackrabbit.core.ItemManager.getItemData(ItemManager.java:384)
	at org.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:328)
	at org.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:622)
	at org.apache.jackrabbit.core.SessionImpl.getNodeById(SessionImpl.java:536)
	at org.apache.jackrabbit.core.SessionImpl.getNodeByIdentifier(SessionImpl.java:1102)
	at info.magnolia.jcr.wrapper.DelegateSessionWrapper.getNodeByIdentifier(DelegateSessionWrapper.java:182)
	at info.magnolia.jcr.wrapper.DelegateSessionWrapper.getNodeByIdentifier(DelegateSessionWrapper.java:182)
	at info.magnolia.jcr.decoration.ContentDecoratorSessionWrapper.getNodeByIdentifier(ContentDecoratorSessionWrapper.java:129)
	at info.magnolia.jcr.wrapper.DelegateSessionWrapper.getNodeByIdentifier(DelegateSessionWrapper.java:182)
	at info.magnolia.jcr.wrapper.NodeWrappingDelegateSessionWrapper.getNodeByIdentifier(NodeWrappingDelegateSessionWrapper.java:58)
	at info.magnolia.jcr.wrapper.DelegateSessionWrapper.getNodeByIdentifier(DelegateSessionWrapper.java:182)
	at info.magnolia.jcr.decoration.ContentDecoratorSessionWrapper.getNodeByIdentifier(ContentDecoratorSessionWrapper.java:129)
	at info.magnolia.jcr.util.SessionUtil.getNodeByIdentifier(SessionUtil.java:129)
	at info.magnolia.ui.framework.availability.shorthandrules.IsRootItemAllowedRule.isRoot(IsRootItemAllowedRule.java:62)
	at info.magnolia.ui.framework.availability.shorthandrules.IsRootItemAllowedRule.isAvailableForItem(IsRootItemAllowedRule.java:83)
....
2014-05-09 09:05:35,492 WARN  info.magnolia.event.SimpleEventBus                : Exception caught when dispatching a class info.magnolia.ui.workbench.event.SelectionChangedEvent event with class info.magnolia.ui.contentapp.browser.BrowserSubApp$1 eventHandler.
java.lang.NullPointerException
	at info.magnolia.ui.framework.availability.shorthandrules.IsRootItemAllowedRule.isRoot(IsRootItemAllowedRule.java:64)
	at info.magnolia.ui.framework.availability.shorthandrules.IsRootItemAllowedRule.isAvailableForItem(IsRootItemAllowedRule.java:83)
	at info.magnolia.ui.api.availability.AbstractAvailabilityRule.isAvailable(AbstractAvailabilityRule.java:53)
	at info.magnolia.ui.framework.availability.AvailabilityCheckerImpl.isAvailable(AvailabilityCheckerImpl.java:94)
	at info.magnolia.ui.contentapp.browser.BrowserSubApp.isSectionVisible(BrowserSubApp.java:330)
	at info.magnolia.ui.contentapp.browser.BrowserSubApp.getVisibleSection(BrowserSubApp.java:323)
	at info.magnolia.ui.contentapp.browser.BrowserSubApp.updateActionbar(BrowserSubApp.java:294)
Fix Versions: 5.3
Project: Magnolia UI
Priority: Blocker Blocker
Reporter: Eric Hechinger
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: <dev-list-unsubscr...@magnolia-cms.com>
----------------------------------------------------------------

Reply via email to