Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: DwC export - associatedMedia not matching correct collection object #3918

Open
LauraPorturas opened this issue Apr 10, 2024 · 3 comments
Labels
bug An existing function is broken.

Comments

@LauraPorturas
Copy link

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

Screen Shot 2024-04-10 at 3 01 09 PM

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 LauraPorturas added the bug An existing function is broken. label Apr 10, 2024
@mjy
Copy link
Member

mjy commented Apr 12, 2024

@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.

@mjy
Copy link
Member

mjy commented Apr 14, 2024

Note to myself- another potential issue is DwC not re-indexing when depictions on object change.

@LauraPorturas
Copy link
Author

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An existing function is broken.
Projects
None yet
Development

No branches or pull requests

2 participants