Hi Lucas, These warnings can be ignored as they are harmless & should not impact overall performance or site behavior. The warnings are there as a reminder to the development team that these "link" paths need further work. To that point, the developers have several open tickets regarding cleaning up these warnings, as all sites will see them occur on a few key User Interface pages:
https://github.com/DSpace/DSpace/issues/8576 https://github.com/DSpace/DSpace/issues/8577 That said, if you are *noticing* these warnings on every page, that is sign of something else going on. I doubt that is what you are seeing though, as it sounds like you are mostly seeing the bug described in ticket 8576...where search pages sometimes log this warning. Tim On Friday, January 3, 2025 at 11:37:28 AM UTC-6 Lucas Silveira wrote: > Dear DSpace Community, > > While using the DSpace 8.0 REST API, we have encountered an issue related > to the "self link" in responses. Specifically, when making requests to > the discover/search endpoint with query parameters > (e.g., scope and configuration), the self link in the response does not > reflect the full URL with the query parameters. Instead, it only points to > the generic endpoint URL. > > *Example Request:* > > GET > /server/api/discover/search?scope=<scope-id>&configuration=<configuration-id> > > *Example Response:* > > "_links": { > "self": { > "href": "https://<domain>/server/api/discover/search" > } > } > > This inconsistency generates the following warning in the frontend logs: > The response for '<full-URL>' has the self link '<generic-URL>'. These > don't match. This could mean there's an issue with the REST endpoint. > > Observed Impact > > This discrepancy may lead to warnings in the frontend logs and could > potentially affect functionality such as pagination and filtering. > > If anyone in the community has insights into this behavior or has > addressed similar issues, sharing solutions or workarounds would be greatly > appreciated. > > Best regards, Lucas. > -- All messages to this mailing list should adhere to the Code of Conduct: https://www.lyrasis.org/about/Pages/Code-of-Conduct.aspx --- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/dspace-tech/e3e1c1ef-966a-4b40-9625-2f3060b6175en%40googlegroups.com.
