• 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 #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.

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/