Skip to content

CSR ignores namespace configuration causing broken resource loading #4637

Description

@milanmajchrak

Describe the bug

DSpace 7.6.5.
When DSpace is configured with a namespace (e.g., /repository), Server-Side Rendering (SSR) correctly handles the base href, but Client-Side Rendering (CSR) serve the original index.html with <base href="/">, causing the browser to request JavaScript resources from the wrong path.

To Reproduce

  1. Configure DSpace with ui.nameSpace: /repository
  2. Exclude SSR for the ^/search$" page
  3. Go to the /repository/search and refresh the page

Expected behavior

The search page should load, but instead a blank page is displayed.

PR: #4638

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions