Bug #326 (closed)
Opened 18 years ago
Closed 17 years ago
Stateful EventContext is broken
Reported by: | jamoore | Owned by: | jamoore |
---|---|---|---|
Priority: | critical | Cc: | cxallan, bwzloranger |
Sprint: | n.a. | ||
Total Remaining Time: | n.a. |
Description (last modified by jmoore)
Currently only stateless sessions properly handle the loading, saving, and unloading of event context (Events, EventLogs, etc.). The stateful services should maintian this state themselves. For that, the SecuritySystem will have to be reworked.
Change History (10)
comment:1 Changed 18 years ago by jmoore
- Description modified (diff)
comment:2 Changed 18 years ago by jmoore
- Keywords set to iteration5
comment:3 Changed 18 years ago by jmoore
- Keywords changed from iteration5 to iteration6
comment:4 Changed 18 years ago by jmoore
- Cc callan brain added
- Keywords iteration6 deleted
- Milestone changed from 3.0-M3 to 3.0-M4
This is most likely the cause of any non-determinism seen in RenderingBean? and co. But to test it, I need the test fixture from the importer. Rescheduling for milestone:3.0-M4.
comment:5 Changed 18 years ago by jmoore
r1024 adds RenderingEngine.getCurrentEventContext() to check Events. (Should probably be added to StatefulServiceInterface?)
comment:6 Changed 18 years ago by jmoore
#212 marked as duplicate.
comment:7 Changed 18 years ago by jmoore
r1025 implements the storing and reseting of EventContext instances for stateful services. There are several improvements to be made (refactoring, EventLog handling,...) but ornately weird behavior should stop.
r1026 provides a test in source:branches/bioformats-omero
comment:8 Changed 18 years ago by jmoore
r1031 significantly fixes SessionHandler. Stateful and stateless services have separate proxy stacks (and separate abstract Spring beans). SessionHandler unit test is also again functional.
comment:9 Changed 18 years ago by jmoore
r1034 fixes a NPE in SessionHandler unit test. Only thrown on particular orderings of methods. (Worse from command line)
comment:10 Changed 17 years ago by jmoore
- Keywords set to iteration6
- Resolution set to fixed
- Status changed from new to closed
Closing this. I've seen no concrete issues over many iterations. I'll add a note to review this on wiki:proposals/SessionsAndMessages
Depends on #328