| Summary: | Exception in the first POST request prevents application from restart (F5) | ||
|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Ivan Furnadjiev <ivan> |
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P1 | ||
| Version: | 1.5 | ||
| Target Milestone: | 1.5 M6 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Ivan Furnadjiev
Put markSessionInitialized in a finally block. JUnit test added. Changes are in CVS HEAD. If an exception _prevents proper initialization_, should the session then be _marked as initialized_. Even if this fixes our problem, I wonder if we then have a conceptual flaw? Or just bad naming? (In reply to comment #2) > If an exception _prevents proper initialization_, should the session then be > _marked as initialized_. Even if this fixes our problem, I wonder if we then > have a conceptual flaw? Or just bad naming? markSessionInitialized means that request with "rwt_initialize" parameter (first POST after the GET request) has been processed. Better naming!!?? Maybe. Actually the flag does not indicate that any initialization has taken place. It only indicates that the first request is through, i.e. the session has started. SESSION_STARTED? SESSION_RUNNING? (In reply to comment #4) > Actually the flag does not indicate that any initialization has taken place. It indicates that the session store and UIThread has been initialize. But SESSION_STARTED sounds good to me too. INITIALIZED vs STARTED? I'd prefer SESSION_STARTED. It doesn't sound like an assertion of any successful initialization. (In reply to comment #6) > I'd prefer SESSION_STARTED. It doesn't sound like an assertion of any > successful initialization. Renamed. |