Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Bug #1001 (closed)

Opened 16 years ago

Closed 14 years ago

SecurityViolation is thrown on stale link set rather than OptimisticLockException

Reported by: jamoore Owned by: jamoore
Priority: minor Cc: cxallan
Sprint: n.a.
Total Remaining Time: n.a.

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

Change History (3)

comment:1 Changed 15 years ago by jmoore

  • Milestone changed from OMERO-Beta4 to OMERO-Beta4.1

Won't have time to examine. Pushing.

comment:2 Changed 15 years ago by jmoore

  • Milestone changed from OMERO-Beta4.1 to OMERO-Beta4.2

comment:3 Changed 14 years ago by jmoore

  • Resolution set to duplicate
  • Status changed from new to closed

Moving to #1649

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.63136 sec.)

We're Hiring!