• Views
  • Iteration Report
  • My Iteration Report
  •  
OMERO.server
  • Login
  • Help/Guide
  • About Trac
  • Preferences
  • Wiki
  • Timeline
  • Roadmap
  • Browse Source
  • View Tickets
  • Search

Context Navigation

  • ← Previous Ticket
  • Next Ticket →

Ticket #326 (closed defect: fixed)

Opened 2 years ago

Last modified 18 months ago

Stateful EventContext is broken

Reported by: jmoore Owned by: jmoore
Priority: critical Milestone: 3.0-Beta2
Component: Services Version: 3.0-M3
Keywords: iteration6 Cc: callan, brain

Description (last modified by jmoore) (diff)

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

Changed 2 years ago by jmoore

  • description modified (diff)

Depends on #328

Changed 2 years ago by jmoore

  • keywords iteration5 added

Changed 2 years ago by jmoore

  • keywords iteration6 added; iteration5 removed

Changed 2 years ago by jmoore

  • cc callan, brain added
  • keywords iteration6 removed
  • 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.

Changed 2 years ago by jmoore

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

Changed 2 years ago by jmoore

#212 marked as duplicate.

Changed 2 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

Changed 2 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.

Changed 2 years ago by jmoore

r1034 fixes a NPE in SessionHandler unit test. Only thrown on particular orderings of methods. (Worse from command line)

Changed 18 months ago by jmoore

  • keywords iteration6 added
  • status changed from new to closed
  • resolution set to fixed

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.

Download in other formats:

  • Comma-delimited Text
  • Tab-delimited Text
  • RSS Feed

Trac Powered

Powered by Trac 0.11
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/