Task #5693 (closed)
Bug: Insight Admin rename-group
Reported by: | wmoore | Owned by: | jburel |
---|---|---|---|
Priority: | minor | Milestone: | OMERO-Beta4.3 |
Component: | Insight | Version: | n.a. |
Keywords: | n.a. | Cc: | |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | 0.0d |
Sprint: | 2011-06-02 (13) |
Description (last modified by jburel)
If I rename a group in Insight, using a name of another existing group I get error. Need to check for existing name first.
java.lang.Exception: org.openmicroscopy.shoola.env.data.DSAccessException: Cannot access data. Cannot update the group. at org.openmicroscopy.shoola.env.data.OMEROGateway.handleException(OMEROGateway.java:875) at org.openmicroscopy.shoola.env.data.OMEROGateway.updateGroup(OMEROGateway.java:3926) at org.openmicroscopy.shoola.env.data.AdminServiceImpl.updateGroup(AdminServiceImpl.java:401) at org.openmicroscopy.shoola.env.data.views.calls.AdminLoader$5.doCall(AdminLoader.java:182) 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(Unknown Source) Caused by: omero.ValidationException serverStackTrace = "ome.conditions.ValidationException: could not update: [ome.model.meta.ExperimenterGroup#207]; SQL [update experimentergroup set description=?, permissions=?, name=?, version=? where id=?]; constraint [experimentergroup_name_key]; nested exception is org.hibernate.exception.ConstraintViolationException: could not update: [ome.model.meta.ExperimenterGroup#207]
Change History (3)
comment:1 Changed 13 years ago by jburel
- Description modified (diff)
- Remaining Time set to 0.15
- Sprint set to 2011-06-02 (13)
- Status changed from new to accepted
comment:2 Changed 13 years ago by jburel <j.burel@…>
- Remaining Time changed from 0.15 to 0
- Resolution set to fixed
- Status changed from accepted to closed
comment:3 Changed 13 years ago by jburel <j.burel@…>
(In [e0ee26262ff71685ef65806905c02f8116d56f09/ome.git] on branch dev_4_2) Fix bug related to the modification of a group name if the name
already exists (close #5693)
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
(In [cfafba38cc94e7aa69a88efe58becfa77f1d4783/ome.git] on branch develop) Fix bug related to the modification of a group name if the name
already exists (close #5693)