• 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 #81 (closed story: fixed)

Opened 3 years ago

Last modified 2 years ago

Implement update Event functionality.

Reported by: jmoore Owned by: jmoore
Priority: major Milestone: 3.0-M3
Component: Model Version: 3.0-M1
Keywords: iteration5 Cc: jason

Description

Currently only the creation Events are being linked from each entity. Update Events are recorded but not on each row.

Change History

Changed 3 years ago by jmoore

  • component changed from API to Model
  • summary changed from Implement updateEvent functionality. to Implement update Event functionality.

Changed 2 years ago by jmoore

  • milestone changed from 3.0-M2 to 3.0-M3

This is important and tied to the security system (#114) . Will rev up in milestone:3.0-M2

Changed 2 years ago by jmoore

  • cc jason added
  • keywords iteration5 added

Discussion during ConfCall Sep. 7, 2006 decided to only store last modification.

Changed 2 years ago by jmoore

r962 implements the update event logic:

  • finally sets updateEvent to not null
  • adds 0 update_id to data.vm and common/build.xml
  • added setUpdateEvent() call in CurrentDetails (transient)
  • added a "pre-update" event listener to ~asynch. update the update event (managed)
  • added security checks in BasicSecuritySystem
  • misc: refactored more methods out to HibernateUtils

The semantics are such that no one can manually alter the update event of an entity, but if the entity is updated (or locked) that it's update event will be automagically incremented to the current event.

Changed 2 years ago by jmoore

r962 caused #366, leaving in place because the update functionality is more important.

Changed 2 years ago by jmoore

Note: automagically incrementing the update event is similar to updating the version. In fact, as long as versions are broken (#118) this may indeed help us catch many of the spurious deletes.

Could it completely replace versioning?

Changed 2 years ago by jmoore

  • status changed from new to closed
  • resolution set to fixed

See #118 for all further discussion on versions v. updateEvent. Closing.

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/