Client-side rendered search result page missing dspace subdir

51 views
Skip to first unread message

Brian Keese

unread,
Aug 11, 2025, 10:58:16 AM8/11/25
to DSpace Technical Support
Dspace 7.6.5. (with customizations that worked on 7.6.3)

At the URL above, something goes wrong when reloading the page. The response generates a bunch of 502s because all the links referenced are missing the 'iuswrtest' subdirectory in which dspace is running. This seems to be related to the fact that the search page is client-side rendered instead of SSR.

This is not a problem in the out-of-the-box dspace 7.6.5 code, but rather something about the configuration that this particular server is using: the same config that worked on 7.6.3 code. It might also be some local code that overrides bits of the core code that is now broken.

The problem is I can find no errors in the logs, and nothing shows up in the browser to give me a hint as to what's going wrong. I've tried all the tips here: https://wiki.lyrasis.org/display/DSPACE/Troubleshoot+an+error

Anyone have any tips on how I can figure out what's going wrong?

-Brian
  

Brian Keese

unread,
Aug 11, 2025, 11:41:26 AM8/11/25
to DSpace Technical Support
Oh.... as I try to work through this issue, the above references link will be changing, so it likely won't be helpful to look at it right now.  -Brian

Brian Keese

unread,
Aug 11, 2025, 1:17:58 PM8/11/25
to DSpace Technical Support
More info...

I noticed that if a refresh is done in the browser on a search result page, the browser sends a header for if-modified-since, which results in a 304 response from the browser (use locally cached version). Apparently the cached version isn't correct in this case.

This isn't the behavior when refreshing the home page or an item page, for example. 

Milan Majchrak

unread,
Aug 12, 2025, 9:13:15 AM8/12/25
to DSpace Technical Support
Hi Brian

It seems this is the same issue we encountered, for which we also created an Issue and PR to upstream:
https://github.com/DSpace/dspace-angular/issues/4637
You can check it out and cherry-pick the solution — I think it will fix your problem.  

Milan Majchrak
dataquest s.r.o.

Milan Majchrak

unread,
Aug 12, 2025, 9:13:25 AM8/12/25
to DSpace Technical Support

Hi Brian,

It seems this is the same issue we encountered, for which we also created an issue and PR to upstream:
https://github.com/DSpace/dspace-angular/issues/4637

You can check it out and cherry-pick the solution — I think it will fix your problem.

Milan Majchrak

dataquest s.r.o.


Dne pondělí 11. srpna 2025 v 19:17:58 UTC+2 uživatel Brian Keese napsal:

Brian Keese

unread,
Aug 12, 2025, 10:40:19 AM8/12/25
to DSpace Technical Support
Thank you!
Yes this exactly fixes our problem.
-Brain

Reply all
Reply to author
Forward
0 new messages