Task #10954 (closed)
Opened 6 years ago
Closed 6 years ago
Bug: Companion files not linked to images
| Reported by: | bpindelski | Owned by: | bpindelski |
|---|---|---|---|
| Priority: | blocker | Milestone: | 5.0.0-beta1 |
| Component: | Services | Version: | n.a. |
| Keywords: | n.a. | Cc: | jamoore |
| Resources: | n.a. | Referenced By: | n.a. |
| References: | n.a. | Remaining Time: | n.a. |
| Sprint: | FS demo 4.2 |
Description
On dev_4_4, when an image with an associated companion file is uploaded (i.e. DV and DV.log), the OMEROMetadataStoreClient handles creating the linkage between them (so that the clients can retrieve the companion file in the UI) - see the https://github.com/openmicroscopy/openmicroscopy/blob/dev_4_4/components/blitz/src/ome/formats/OMEROMetadataStoreClient.java#L1690 method. The image-companion file linkage is done server-side.
On develop, the server is missing such logic. It could be added to ManagedImportRequestI. A new method is needed to find the companion file for the currently imported image (see the story ticket for candidate BF methods) and then do string matching against the list of image names to get the Original File ID for the companion file. Finally - link image OF ID and companion OF ID in the DB.
Change History (2)
comment:1 Changed 6 years ago by bpindelski
- Status changed from new to accepted
comment:2 Changed 6 years ago by jamoore
- Resolution set to fixed
- Status changed from accepted to closed
PR filed - https://github.com/openmicroscopy/openmicroscopy/pull/1209