Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Bug #326 (closed)

Opened 15 years ago

Closed 15 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 15 years ago by jmoore

  • Description modified (diff)

Depends on #328

comment:2 Changed 15 years ago by jmoore

  • Keywords set to iteration5

comment:3 Changed 15 years ago by jmoore

  • Keywords changed from iteration5 to iteration6

comment:4 Changed 15 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 15 years ago by jmoore

r1024 adds RenderingEngine.getCurrentEventContext() to check Events. (Should probably be added to StatefulServiceInterface?)

comment:6 Changed 15 years ago by jmoore

#212 marked as duplicate.

comment:7 Changed 15 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 15 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 15 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 15 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

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.66886 sec.)

We're Hiring!