Bug #2314
closed
Links in annotation may use wrong domain
Added by Alexander Watzinger 5 months ago.
Updated 2 months ago.
Description
Not sure if this is a backend or frontend issue but when showing MAMEMS today the presentation site for Approaching Byzantium I noticed that links shown in image annotations are pointing to the MAMEMS presentation site.
See (now working) IIIF viewer annotation links at: https://approaching-byzantium.openatlas.eu/entities/606
In case this is a backend (API) issue feel free to move this issue to the OpenAtlas main project.
- Description updated (diff)
I'm quite positive, that this is a backend issue, because the IIIF manifest uses the the frontend link provided by the OpenAtlas backend, if any is given.
In this case, I fear you have to construct your own URL with the ID.
Thanks for the feedback Bernhard. I was talking with Christoph about it yesterday too.
Although the link is provided by the backend API there is not much we can do about it there because the backend isn't "aware" which presentation site is asking.
So it may be easier to change/adapt the URL on the frontend side because the alternative would be the presentation site communicating the correct URL so that the backend can include which sounds kind of backward.
That's why we leave the issue at the frontend for now, but this can be of course discussed further in case it turns out to be too troublesome implementing at the frontend.
We may should discuss the backend API using the registered frontend URL for that in general. It's main use was to provide frontend links in the backend but because it will happen more often that multiple frontends use the same backend we may should limit it to that. Or leave it like is to have at least a default for frontend requests. However, let us take care of the bug first and maybe discuss the rest in Autumn in more detail.
- Project changed from OpenAtlas Discovery to OpenAtlas
- Category set to API
- Status changed from Acknowledged to Assigned
- Assignee set to Bernhard Koschiček-Krombholz
- Target version changed from 0.7.0 to 8.7.0
Taking over. Create a parameter where an URL can be provided to overwrite the base URL of all annotations.
- Assignee changed from Bernhard Koschiček-Krombholz to Olivia Reichl
Assigning back to Olivia. There is now a new parameter called url
for /network_visualisation/
, which replaces the base URL of the annotations. In my tests it should work and it is online in MAMEMS. So feel free to test it and close it, if everything works.
- Status changed from Assigned to Resolved
- Assignee changed from Olivia Reichl to Bernhard Koschiček-Krombholz
- Status changed from Resolved to Closed
We are closing this issue for the OpenAtlas backend but feel free to open a new issue for the presentation sites in case adaptions there are necessary too.
Also available in: Atom
PDF