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"

Task #4056 (closed)

Opened 13 years ago

Closed 13 years ago

Bug: Change user roles

Reported by: jburel Owned by: jamoore
Priority: major Milestone: OMERO-Beta4.3
Component: Security Version: n.a.
Keywords: n.a. Cc:
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: 2011-02-10 (5)

Description

making a user active, not active, active leads to the following exception

java.lang.Exception: org.openmicroscopy.shoola.env.data.DSAccessException: Cannot access data. 
Cannot modify the roles of the experimenters.
	at org.openmicroscopy.shoola.env.data.OMEROGateway.handleException(OMEROGateway.java:953)
	at org.openmicroscopy.shoola.env.data.OMEROGateway.modifyExperimentersRoles(OMEROGateway.java:4051)
	at org.openmicroscopy.shoola.env.data.AdminServiceImpl.activateExperimenters(AdminServiceImpl.java:651)
	at org.openmicroscopy.shoola.env.data.views.calls.AdminSaver$4.doCall(AdminSaver.java:149)
	at org.openmicroscopy.shoola.env.data.views.BatchCall.doStep(BatchCall.java:144)
	at org.openmicroscopy.shoola.util.concur.tasks.CompositeTask.doStep(CompositeTask.java:226)
	at org.openmicroscopy.shoola.env.data.views.CompositeBatchCall.doStep(CompositeBatchCall.java:126)
	at org.openmicroscopy.shoola.util.concur.tasks.ExecCommand.exec(ExecCommand.java:165)
	at org.openmicroscopy.shoola.util.concur.tasks.ExecCommand.run(ExecCommand.java:274)
	at org.openmicroscopy.shoola.util.concur.tasks.AsyncProcessor$Runner.run(AsyncProcessor.java:91)
	at java.lang.Thread.run(Thread.java:655)
Caused by: omero.OptimisticLockException
    serverStackTrace = "ome.conditions.OptimisticLockException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1; nested exception is org.hibernate.StaleStateException: Batch update returned unexpected row count from update [0]; actual row count: 0; expected: 1

Change History (5)

comment:1 Changed 13 years ago by jburel

  • Summary changed from Change user rols to Change user roles

comment:2 Changed 13 years ago by jmoore

  • Component changed from General to Security
  • Remaining Time set to 0.25
  • Sprint set to 2011-02-10 (5)
  • Summary changed from Change user roles to Bug: Change user roles

This may be related to #4011. I'll test asap.

comment:3 Changed 13 years ago by jmoore

  • Status changed from new to assigned

comment:4 Changed 13 years ago by jmoore

This may have been a temporary issue in Insight and hasn't been seen in some time.

comment:5 Changed 13 years ago by Josh <josh@…>

  • Remaining Time changed from 0.25 to 0
  • Resolution set to fixed
  • Status changed from assigned to closed

(In [aa60ed1bddf55edf6bf4f58560b8ca43148aa2d2/ome.git]) Added passing test for remove/addGroups (Fix #4056)

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.74174 sec.)

We're Hiring!