[magnolia-dev] [JIRA] (MGNLUI-2880) Tree view of Configuration app get out of sync due to asynchronous delete action
Eric Hechinger created MGNLUI-2880 Tree view of Configuration app get out of sync due to asynchronous delete action Issue Type: 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 Reporter: Eric Hechinger Security Level: Public
[magnolia-dev] [JIRA] (MGNLUI-2880) Tree view of Configuration app get out of sync due to asynchronous delete action
Eric Hechinger updated MGNLUI-2880 Tree view of Configuration app get out of sync due to asynchronous delete action Change By: Eric Hechinger (09/May/14 9:21 AM) Attachment: ScreenShot2014-05-09at09.20.08.png 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 Forlistdetails,see:http://www.magnolia-cms.com/community/mailing-lists.html Alternatively,useourforums:http://forum.magnolia-cms.com/ Tounsubscribe,E-mailto:dev-list-unsubscr...@magnolia-cms.com
[magnolia-dev] [JIRA] (MGNLUI-2880) Tree view of Configuration app get out of sync due to asynchronous delete action
Eric Hechinger updated MGNLUI-2880 Tree view of Configuration app get out of sync due to asynchronous delete action Change By: Eric Hechinger (09/May/14 9:23 AM) Attachment: ScreenShot2014-05-09at09.22.39.png 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 Forlistdetails,see:http://www.magnolia-cms.com/community/mailing-lists.html Alternatively,useourforums:http://forum.magnolia-cms.com/ Tounsubscribe,E-mailto:dev-list-unsubscr...@magnolia-cms.com
[magnolia-dev] [JIRA] (MGNLUI-2880) Tree view of Configuration app get out of sync due to asynchronous delete action
Eric Hechinger updated MGNLUI-2880 Tree view of Configuration app get out of sync due to asynchronous delete action Change By: Eric Hechinger (09/May/14 9:23 AM) Description: Treeviewofconfigurationappgetoutofsyncwhendeletinganelement.Toreproduce:Gotoconfigapp,createanewfolderattherootlevel,clickthedeleteaction,confirm:-Thedeletedfolderisstillvisible-Whenrefreshingthetree,wegotthefollowingerror -Thennomoreactionsareavailable Infactthebrowserpresenterstillreferstothedeletedfolderandtrytorefreshtheactionavailabilityonadeleteditem.{code}javax.jcr.ItemNotFoundException:e50188c4-0179-4062-8e6f-1916566ceda1 atorg.apache.jackrabbit.core.ItemManager.getItemData(ItemManager.java:384) atorg.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:328) atorg.apache.jackrabbit.core.ItemManager.getItem(ItemManager.java:622) atorg.apache.jackrabbit.core.SessionImpl.getNodeById(SessionImpl.java:536) atorg.apache.jackrabbit.core.SessionImpl.getNodeByIdentifier(SessionImpl.java:1102) atinfo.magnolia.jcr.wrapper.DelegateSessionWrapper.getNodeByIdentifier(DelegateSessionWrapper.java:182) atinfo.magnolia.jcr.wrapper.DelegateSessionWrapper.getNodeByIdentifier(DelegateSessionWrapper.java:182) atinfo.magnolia.jcr.decoration.ContentDecoratorSessionWrapper.getNodeByIdentifier(ContentDecoratorSessionWrapper.java:129) atinfo.magnolia.jcr.wrapper.DelegateSessionWrapper.getNodeByIdentifier(DelegateSessionWrapper.java:182) atinfo.magnolia.jcr.wrapper.NodeWrappingDelegateSessionWrapper.getNodeByIdentifier(NodeWrappingDelegateSessionWrapper.java:58) atinfo.magnolia.jcr.wrapper.DelegateSessionWrapper.getNodeByIdentifier(DelegateSessionWrapper.java:182) atinfo.magnolia.jcr.decoration.ContentDecoratorSessionWrapper.getNodeByIdentifier(ContentDecoratorSessionWrapper.java:129) atinfo.magnolia.jcr.util.SessionUtil.getNodeByIdentifier(SessionUtil.java:129) atinfo.magnolia.ui.framework.availability.shorthandrules.IsRootItemAllowedRule.isRoot(IsRootItemAllowedRule.java:62) atinfo.magnolia.ui.framework.availability.shorthandrules.IsRootItemAllowedRule.isAvailableForItem(IsRootItemAllowedRule.java:83)2014-05-0909:05:35,492WARNinfo.magnolia.event.SimpleEventBus:Exceptioncaughtwhendispatchingaclassinfo.magnolia.ui.workbench.event.SelectionChangedEventeventwithclassinfo.magnolia.ui.contentapp.browser.BrowserSubApp$1eventHandler.java.lang.NullPointerException atinfo.magnolia.ui.framework.availability.shorthandrules.IsRootItemAllowedRule.isRoot(IsRootItemAllowedRule.java:64) atinfo.magnolia.ui.framework.availability.shorthandrules.IsRootItemAllowedRule.isAvailableForItem(IsRootItemAllowedRule.java:83) atinfo.magnolia.ui.api.availability.AbstractAvailabilityRule.isAvailable(AbstractAvailabilityRule.java:53) atinfo.magnolia.ui.framework.availability.AvailabilityCheckerImpl.isAvailable(AvailabilityCheckerImpl.java:94) atinfo.magnolia.ui.contentapp.browser.BrowserSubApp.isSectionVisible(BrowserSubApp.java:330) atinfo.magnolia.ui.contentapp.browser.BrowserSubApp.getVisibleSection(BrowserSubApp.java:323) atinfo.magnolia.ui.contentapp.browser.BrowserSubApp.updateActionbar(BrowserSubApp.java:294){code} 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 Forlistdetails,see:http://www.magnolia-cms.com/community/mailing-lists.html Alternatively,useourforums:http://forum.magnolia-cms.com/ Tounsubscribe,E-mailto:dev-list-unsubscr...@magnolia-cms.com
[magnolia-dev] [JIRA] (MGNLUI-2880) Tree view of Configuration app get out of sync due to asynchronous delete action
Eric Hechinger updated MGNLUI-2880 Tree view of Configuration app get out of sync due to asynchronous delete action Change By: Eric Hechinger (09/May/14 9:24 AM) Assignee: EricHechinger 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 Forlistdetails,see:http://www.magnolia-cms.com/community/mailing-lists.html Alternatively,useourforums:http://forum.magnolia-cms.com/ Tounsubscribe,E-mailto:dev-list-unsubscr...@magnolia-cms.com