User Story #81 (closed)
Opened 18 years ago
Closed 18 years ago
Implement update Event functionality.
Reported by: | jamoore | Owned by: | jamoore |
---|---|---|---|
Priority: | major | Milestone: | 3.0-M3 |
Component: | Model | Keywords: | iteration5 |
Cc: | jrswedlow | Story Points: | n.a. |
Sprint: | n.a. | Importance: | n.a. |
Total Remaining Time: | n.a. | Estimated Remaining Time: | n.a. |
Description
Currently only the creation Events are being linked from each entity. Update Events are recorded but not on each row.
Change History (7)
comment:1 Changed 18 years ago by jmoore
- Component changed from API to Model
- Summary changed from Implement updateEvent functionality. to Implement update Event functionality.
comment:2 Changed 18 years ago by jmoore
- Milestone changed from 3.0-M2 to 3.0-M3
comment:3 Changed 18 years ago by jmoore
- Cc jason added
- Keywords iteration5 added
Discussion during ConfCall Sep. 7, 2006 decided to only store last modification.
comment:4 Changed 18 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.
comment:5 Changed 18 years ago by jmoore
comment:6 Changed 18 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?
comment:7 Changed 18 years ago by jmoore
- Resolution set to fixed
- Status changed from new to closed
See #118 for all further discussion on versions v. updateEvent. Closing.
This is important and tied to the security system (#114) . Will rev up in milestone:3.0-M2