Task #11017 (accepted)
Opened 11 years ago
Last modified 11 years ago
Bug: MIF chgrp "Instrument" failed — at Version 5
Reported by: | wmoore | Owned by: | jamoore |
---|---|---|---|
Priority: | blocker | Milestone: | 5.0.0-beta1 |
Component: | Security | Version: | n.a. |
Keywords: | fs | Cc: | ajpatterson, mtbcarroll, pwalczysko, jrswedlow, jburel, fs@… |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | 1.5d |
Sprint: | FS Demo 4.3 |
Description (last modified by jamoore)
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)
NB: should verify with the data from #10839
Change History (5)
comment:1 Changed 11 years ago by jamoore
comment:2 Changed 11 years ago by jamoore
After a clean build, I've now reproduced locally.
comment:3 Changed 11 years ago by jamoore
- Keywords fs added
- Remaining Time set to 1.5
- Status changed from new to accepted
comment:4 Changed 11 years ago by mtbcarroll
- Cc mtbcarroll added
comment:5 Changed 11 years ago by jamoore
- Description modified (diff)
I've reproduced on gretzky with both the exact files that Will and Andrew were working with as well as a newly imported copy of the MDB files, but I can't reproduce locally. Might have to try writing an integration test for this.