[MGNLUI-2880] Tree view of Configuration app & Pages app get out of sync due to asynchronous delete action Created: 09/May/14 Updated: 15/May/14 Resolved: 09/May/14 |
|
| Status: | Closed |
| Project: | Magnolia UI |
| Component/s: | app framework, content app |
| Affects Version/s: | 5.3 |
| Fix Version/s: | 5.3 |
| Type: | Bug | Priority: | Blocker |
| Reporter: | Eric Hechinger | Assignee: | Eric Hechinger |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Template: |
|
| Acceptance criteria: |
Empty
|
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
| Date of First Response: |
| Description |
|
Tree view of configuration app get out of sync when deleting an element.
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) |
| Comments |
| Comment by Richard Unger [ 09/May/14 ] |
|
What's the fix? |