[Bug]: DwC export - associatedMedia not matching correct collection object
Steps to reproduce the bug
1. Filter collection objects
2. Select collection objects, download DwC
3. Go to DwC Dashboard
4. Download data from "Recently created DwC Archives" section
5. Choose an occurrence record
6. Follow URL from the "associatedMedia" field, which takes you to a page like the screenshot attached
7. Follow URL from this page associated with the "original", "thumb", and "medium" size options, and the images are of different collection objects than the chosen occurrence record
...
Screenshot
Expected behavior
When I download DwC archive, I expect the associatedMedia field to map to the correct collection object/occurrence record
Additional Screenshots
No response
Environment
Production
Sandbox Used
No response
Version
No response
Browser Used
Chrome
@LauraPorturas Can you please also share the URL you used to filter the results? You can copy/paste the browser URL after the filter, or use the eyeball on the right, click the "JSON" option, and copy what pops up there.
Note to myself- another potential issue is DwC not re-indexing when depictions on object change.
@mjy Here it is: ?per=50&keyword_id_or%5B%5D=1822&keyword_id_or%5B%5D=555&keyword_id_or%5B%5D=757&extend%5B%5D=dwc_occurrence&extend%5B%5D=repository&extend%5B%5D=current_repository&extend%5B%5D=collecting_event&extend%5B%5D=taxon_determinations&extend%5B%5D=identifiers&exclude%5B%5D=object_labels&page=1