Task #13128 (closed)
Opened 8 years ago
Closed 8 years ago
Bug: moving fake plate loses light settings
Reported by: | mtbcarroll | Owned by: | mtbcarroll |
---|---|---|---|
Priority: | major | Milestone: | Permissions |
Component: | ApplicationServer | Version: | OMERO-5.2.0 |
Keywords: | graph | Cc: | server@… |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | n.a. |
Description
If I import a fake plate then move it, its LightSettings instances get deleted. In looking into this, it'd be good to note if there's something odd about the fake plates' model graph when compared with real plates, and to consider when it is appropriate to delete light settings to make sure the bug isn't fixed a little too earnestly.
(There may also be a way to reproduce this without needing a plate.)
Change History (9)
comment:1 Changed 8 years ago by mtbcarroll
comment:2 Changed 8 years ago by mtbcarroll
None of my usual test data seems to have LightSettings, at least that I've found so far, and I don't think any of our integration tests chgrp any either. Do we have some good test data that is known to have LightSettings? I don't see the term used in any of our readers but I'm obviously missing something if fake screens have them.
comment:3 Changed 8 years ago by jamoore
- Milestone changed from 5.x to Permissions
comment:4 Changed 8 years ago by mtbcarroll
I found some examples of data with light settings in test_images_good: in flex/, l2d/venu/, leica-lif-martin/. If I import and move these (only the flex one is a plate) then the light settings move too. So, I looked in curated/flex/ and plates I can import from there also move fine. So, the fake reader may be somehow deficient in its plate construction.
comment:5 Changed 8 years ago by mtbcarroll
At first glance my initial surprises with the fake plate are:
- its images don't reference its instrument
- one of its light source settings instances isn't referenced by a logical channel.
Is the latter "wrong" or should it be something we can cope with?
comment:6 Changed 8 years ago by mtbcarroll
Judging by the naming, perhaps the DetectorSettings, LightSettings, ObjectiveSettings should always be kept with the Detector, LightSource, Objective respectively, regardless of other linkages to them. If nobody vetoes then I'll look at adjusting the graph policy rules accordingly.
comment:7 Changed 8 years ago by mtbcarroll
- Keywords graph added
comment:8 Changed 8 years ago by mtbcarroll
- Status changed from new to accepted
comment:9 Changed 8 years ago by mtbcarroll
- Resolution set to fixed
- Status changed from accepted to closed
Anyone else should feel free to steal this ticket if they want to get a first taste of debugging graph policies, I'll be happy to help.