ome / omero-insight

Gradle project containing insight java client for OMERO
https://www.openmicroscopy.org/omero/
GNU General Public License v2.0
7 stars 14 forks source link

Admin tasks #108

Open dominikl opened 4 years ago

dominikl commented 4 years ago

There are several bugs in Insight with respect to "admin" tasks (like managing user - group relationships).

dominikl commented 3 years ago

QA 30538

java.lang.Exception: omero.gateway.exception.DSAccessException: Cannot access data. 
Cannot update the group. 
    at org.openmicroscopy.shoola.env.data.OMEROGateway.handleException(OMEROGateway.java:771)
    at org.openmicroscopy.shoola.env.data.OMEROGateway.updateGroup(OMEROGateway.java:3700)
    at org.openmicroscopy.shoola.env.data.AdminServiceImpl.updateGroup(AdminServiceImpl.java:390)
    at org.openmicroscopy.shoola.env.data.views.calls.AdminLoader$5.doCall(AdminLoader.java:185)
...
Caused by: omero.ValidationException
    serverStackTrace = "ome.conditions.ValidationException: cannot rename the current group context 'ADA '
                            at ome.logic.AdminImpl.updateGroup(AdminImpl.java:619)
...
dominikl commented 2 years ago

QA 31175

java.lang.Exception: omero.gateway.exception.DSAccessException: Cannot access data. 
Cannot modify the roles of the experimenters.
    at org.openmicroscopy.shoola.env.data.OMEROGateway.handleException(OMEROGateway.java:771)
    at org.openmicroscopy.shoola.env.data.OMEROGateway.modifyExperimentersRoles(OMEROGateway.java:3752)
    at org.openmicroscopy.shoola.env.data.AdminServiceImpl.updateExperimenters(AdminServiceImpl.java:594)
    at org.openmicroscopy.shoola.env.data.views.calls.AdminLoader$10.doCall(AdminLoader.java:285)
    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:276)
    at org.openmicroscopy.shoola.util.concur.tasks.AsyncProcessor$Runner.run(AsyncProcessor.java:91)
    at java.lang.Thread.run(Thread.java:748)
Caused by: omero.ValidationException
    serverStackTrace = "ome.conditions.ValidationException: experimenter cannot be a member of only the 'user' group, a different default group is also required
                            at ome.logic.AdminImpl.removeGroups(AdminImpl.java:813)
                            at jdk.internal.reflect.GeneratedMethodAccessor1028.invoke(Unkn