Task #6884 (closed)
BUG:ROI creation
| Reported by: | omero-qa | Owned by: | jburel |
|---|---|---|---|
| Priority: | minor | Milestone: | OMERO-Beta4.3.3 |
| Component: | Insight | Version: | n.a. |
| Keywords: | n.a. | Cc: | will@… |
| Resources: | n.a. | Referenced By: | n.a. |
| References: | n.a. | Remaining Time: | 0.0d |
| Sprint: | 2011-10-13 (1) |
Description
http://qa.openmicroscopy.org.uk/qa/feedback/3993/
Comment: Saving newly created ROI with multiple shapes.
java.lang.Exception: org.openmicroscopy.shoola.env.data.DSAccessException: Cannot access data.
Cannot Save the ROI for image: 27569
at org.openmicroscopy.shoola.env.data.OMEROGateway.handleException(OMEROGateway.java:911)
at org.openmicroscopy.shoola.env.data.OMEROGateway.saveROI(OMEROGateway.java:6892)
at org.openmicroscopy.shoola.env.data.OmeroImageServiceImpl.saveROI(OmeroImageServiceImpl.java:1444)
at org.openmicroscopy.shoola.env.data.views.calls.ROISaver$1.doCall(ROISaver.java:74)
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:680)
Caused by: omero.OptimisticLockException
serverStackTrace = "ome.conditions.OptimisticLockException: You are not authorized to change the update event for ome.model.core.Pixels:Id_27366 from ome.model.meta.Event:Id_270451 to ome.model.meta.Event:Id_270450
You may need to reload the object before continuing.
at ome.security.basic.OmeroInterceptor.managedEvent(OmeroInterceptor.java:986)
at ome.security.basic.OmeroInterceptor.checkManagedDetails(OmeroInterceptor.java:661)
at ome.security.basic.OmeroInterceptor.resetDetails(OmeroInterceptor.java:316)
at ome.security.basic.OmeroInterceptor.onFlushDirty(OmeroInterceptor.java:182)
at org.hibernate.event.def.DefaultFlushEntityEventListener.invokeInterceptor(DefaultFlushEntityEventListener.java:372)
at org.hibernate.event.def.DefaultFlushEntityEventListener.handleInterception(DefaultFlushEntityEventListener.java:349)
at org.hibernate.event.def.DefaultFlushEntityEventListener.scheduleUpdate(DefaultFlushEntityEventListener.java:287)
at org.hibernate.event.def.DefaultFlushEntityEventListener.onFlushEntity(DefaultFlushEntityEventListener.java:155)
at org.hibernate.event.def.AbstractFlushingEventListener.flushEntities(AbstractFlushingEventListener.java:219)
at
Change History (5)
comment:1 Changed 8 years ago by jburel
- Component changed from from QA to Insight
- Milestone changed from Unscheduled to OMERO-Beta4.3.3
- Sprint set to 2011-10-13 (1)
comment:2 Changed 8 years ago by jburel
- Status changed from new to accepted
comment:3 Changed 8 years ago by jburel
comment:4 Changed 8 years ago by jburel
- Resolution set to fixed
- Status changed from accepted to closed
To test:
- I have not been able to reproduce it.
comment:5 Changed 8 years ago by Jean-marie Burel <j.burel@…>
- Remaining Time set to 0
(In [f5a3730e6282c9ede04cb8bcb3d2081bf635b886/ome.git]) Make sure the image object is not loaded when saving roi.
This could be the source of the problem (close #6884)
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
see github feature/bugsInsight4.3.2 f5a3730