Task #11017 (new)
Opened 11 years ago
Last modified 11 years ago
Bug: MIF chgrp "Instrument" failed — at Initial Version
Reported by: | wmoore | Owned by: | jamoore |
---|---|---|---|
Priority: | blocker | Milestone: | 5.0.0-beta1 |
Component: | Security | Version: | n.a. |
Keywords: | n.a. | Cc: | ajpatterson, mtbcarroll, pwalczysko, jrswedlow, jburel, fs@… |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | FS Demo 4.3 |
Description
Having moved a 2-image MIF: /zeiss-lsm-martin/051215-j-tf.mdb [01-01] to a new group (OK) tried to move to a new dataset in that group (drag & drop in web) - See error below.
Reported https://github.com/openmicroscopy/openmicroscopy/pull/1221#issuecomment-18684904
gretzky today, user-3, imported Images:3839,3840 into group:8, moved to group:7 (into Dataset:353). Then tried to move into Dataset:401
When I've seen a "Security Violation" like this before, it's been because the object (Instrument in this case) failed to have it's details.group.id updated to the new group.
SecurityViolation: exception ::omero::SecurityViolation { serverStackTrace = ome.conditions.SecurityViolation: Cannot read ome.model.acquisition.Instrument:Id_1329 at ome.security.basic.BasicACLVoter.throwLoadViolation(BasicACLVoter.java:163) at ome.security.CompositeACLVoter.throwLoadViolation(CompositeACLVoter.java:92) at ome.security.ACLEventListener.onPostLoad(ACLEventListener.java:104) at org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:250) at org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:898) at org.hibernate.loader.Loader.doQuery(Loader.java:773)