You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For some instances in production, when Specify tries to fetch the assets, it does not correctly build the URL to fetch successfully from the assets server. In the params for the asset URL, the 'coll' param is not getting correctly set. The convention that has been used on the asset server is for the 'coll' param to be set to the institutions name / acronym. This is the behavior in 7.9.6.2. In production, the 'coll' param is being set to the name of the current collection or something else, not the institution name, thus it is failing to retrieve the assets.
Haven't been able to replicate on the test-panel, so I think it is just something with my local instance setup. Not sure exactly why, but I don't think it is a critical issue.
It seems the API call to /context/attachment_settings.json returns the wrong value for coll. I created a draft PR with an easy fix. Will investigate more to see if there is another solution. #6176
For some instances in production, when Specify tries to fetch the assets, it does not correctly build the URL to fetch successfully from the assets server. In the params for the asset URL, the 'coll' param is not getting correctly set. The convention that has been used on the asset server is for the 'coll' param to be set to the institutions name / acronym. This is the behavior in 7.9.6.2. In production, the 'coll' param is being set to the name of the current collection or something else, not the institution name, thus it is failing to retrieve the assets.
Wrong URL example: https://assets1.specifycloud.org/fileget?coll=teste&type=T&filename=7ab24b22-0c68-4ca7-b712-18f9603d789f.pdf&scale=123
Correct URL example: https://assets1.specifycloud.org/fileget?coll=entomologiamnrj&type=T&filename=7ab24b22-0c68-4ca7-b712-18f9603d789f.pdf&scale=123
production behavior:
![Image](https://private-user-images.githubusercontent.com/2774057/406997558-28c51000-f51b-4fe2-aa21-b15619873574.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxNTk1NzMsIm5iZiI6MTczOTE1OTI3MywicGF0aCI6Ii8yNzc0MDU3LzQwNjk5NzU1OC0yOGM1MTAwMC1mNTFiLTRmZTItYWEyMS1iMTU2MTk4NzM1NzQucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQ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JzPWhvc3QifQ.Pyo-lsexbOEWrIMCpoem-CuL5HNIiqI64VX39NcW7Bc)
Steps to reproduce the behavior:
Please fill out the following information manually:
The text was updated successfully, but these errors were encountered: