[MGNLUI-1143] Exception in case of outdated data in JcrContainer Created: 18/Apr/13 Updated: 23/Apr/13 Resolved: 19/Apr/13 |
|
| Status: | Closed |
| Project: | Magnolia UI |
| Component/s: | None |
| Affects Version/s: | 5.0 |
| Fix Version/s: | 5.0 |
| Type: | Bug | Priority: | Blocker |
| Reporter: | Daniel Lipp | Assignee: | Daniel Lipp |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| 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: | |||||||||||||||||
| Sprint: | Iteration 2013-16 | ||||||||||||||||
| Description |
|
Current implementations of JcrContainers quite often throw RuntimeRepositoryExceptions e.g. when an element with a certain itemId is no longer around in JCR. As containers are frequently triggered in the paint phase of Vaadin components this has to be strictly avoided as the whole application could crash else. Also we should make sure that Views/Containers get refreshed when navigating back to SubApps. |
| Comments |
| Comment by Espen Jervidalo [ 19/Apr/13 ] |
|
When editing an item e.g. marilyn. open the contacts in another browser and delete her there, switch to first browser and co back to browser subapp. see stacktrace further down. review remarks: stacktrace: Caused by: com.vaadin.ui.Table$CacheUpdateException: Error during Table cache update. Additional causes not shown. |
| Comment by Daniel Lipp [ 19/Apr/13 ] |
|
The NPE has actually existed before but has now been fixed as well. |