Ticket #1001 (new defect)
Opened 6 months ago
SecurityViolation is thrown on stale link set rather than OptimisticLockException
| Reported by: | jmoore | Owned by: | jmoore |
|---|---|---|---|
| Priority: | minor | Milestone: | OMERO-Beta4 |
| Component: | ORM | Version: | 3.0-M1 |
| Keywords: | hibernate, locking, versions | Cc: | callan |
Description
When a user tries to update a stale collection, the following is thrown rather than an OptimisticLockException:
ome.conditions.SecurityViolation: Deleting ome.model.containers.ProjectDatasetLink:Id_2707 not allowed. at ome.security.basic.BasicACLVoter.throwDeleteViolation(BasicACLVoter.java:126) at ome.security.ACLEventListener.onPreDelete(ACLEventListener.java:147) at ...
Note: See
TracTickets for help on using
tickets.
