[MGNLUI-1526] Forcing application restart throws exception Created: 03/Jun/13 Updated: 14/Jun/13 Resolved: 04/Jun/13 |
|
| Status: | Closed |
| Project: | Magnolia UI |
| Component/s: | None |
| Affects Version/s: | 5.0 |
| Fix Version/s: | 5.0 |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Samuli Penttilä | Assignee: | Aleksandr Pchelintcev |
| 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: | RC 1 | ||||||||||||||||
| Description |
|
Server console is filled with exceptions when applying ?restartApplication to the url while a dialog is opened in Pages app. Steps to reproduce: [INFO] [talledLocalContainer] 2013-06-03 13:27:22,196 WARN info.magnolia.event.SimpleEventBus : Exception caught when dispatching event: null [WARNING] [talledLocalContainer] WARNING: Unregistered Label (115) that was already unregistered. |
| Comments |
| Comment by Samuli Penttilä [ 04/Jun/13 ] |
|
This particular stack trace reveals that this has something to do with Form. While debugging it is the first TextField in a Dialog containing a Form that throws error while detaching. 2013-06-04 09:54:55,303 ERROR .magnolia.ui.admincentral.AdmincentralErrorHandler: AdmincentralUI has encountered an unhandled exception. |
| Comment by Aleksandr Pchelintcev [ 04/Jun/13 ] |
|
In order to avoid overlay memory leaks we introduced the overlay parent detach listener that would cause an overlay to be removed from MagnoliaShell. In case of ?restartApplication refresh, log out or any reason for a session to die and UI to be detached - there seems to be a conflict between a leak prevention and the recursive clearing of UI's child components. See the superseded ticket for the related commit. |