| Summary: | [BrowserHistory] exception on session timeout with SimpleLifeCycle | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Ralf Sternberg <rsternberg> | ||||||
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P2 | CC: | holger.staudacher | ||||||
| Version: | 1.5 | ||||||||
| Target Milestone: | 1.5 M7 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Ralf Sternberg
This is also an important topic for us. Any workaround known? Created attachment 213507 [details]
Proposed patch
This patch wraps the execution of shutdownCallback in a FakeContextUtil.runNonUIThreadWithFakeContext. Unfortunately, I didn't manage to create a JUnit test to reproduce the exception.
Created attachment 214085 [details]
Proposed patch
This patch includes the above fix + JUnit test.
... and probably we could wrap the code in SimpleLifeCycle#interceptShutdown in a single FakeContextUtil#runNonUIThreadWithFakeContext. |