Project

General

Profile

Actions

Bug #2314

closed

Links in annotation may use wrong domain

Added by Alexander Watzinger 4 months ago. Updated 10 days ago.

Status:
Closed
Priority:
Normal
Category:
API
Target version:
Start date:
2024-06-14
Estimated time:
Found in version:

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.


Related issues 1 (0 open1 closed)

Related to OpenAtlas - Feature #2346: API: 0.4.4ClosedBernhard Koschiček-Krombholz2024-09-04Actions
Actions #1

Updated by Alexander Watzinger 4 months ago

  • Description updated (diff)
Actions #2

Updated by Bernhard Koschiček-Krombholz 4 months ago

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.

Actions #3

Updated by Alexander Watzinger 3 months ago

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.

Actions #4

Updated by Bernhard Koschiček-Krombholz 16 days ago

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

Actions #5

Updated by Bernhard Koschiček-Krombholz 12 days ago

Actions #6

Updated by Bernhard Koschiček-Krombholz 12 days ago

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

Actions #7

Updated by Bernhard Koschiček-Krombholz 12 days ago

  • Status changed from Assigned to Resolved
Actions #8

Updated by Alexander Watzinger 10 days ago

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

Actions

Also available in: Atom PDF