Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export links in Management not working from subdirectory #915

Open
johlton opened this issue Feb 12, 2024 · 2 comments · Fixed by #945
Open

Export links in Management not working from subdirectory #915

johlton opened this issue Feb 12, 2024 · 2 comments · Fixed by #945
Assignees
Labels
Milestone

Comments

@johlton
Copy link

johlton commented Feb 12, 2024

Description / Beschreibung

The export links aka API URLs in Management GUI are not working if RDMO is running in subdirectory.

Expected behaviour / Erwartetes Verhalten

I would expect a link with the current subdirectory.
Therefore I would expect an API_URL setting in config/settings/__init__.py, if not already present somewhere deeper in the code.

Steps to reproduce / Schritte zum Reproduzieren

  1. Configure webserver to serve RDMO from domain subdirectory
  2. Set BASE_URL in config/settings/local.py to subdirectory
  3. Go to "Management"
  4. Click on a sidebar link within "Export"
  5. See a HTTP 404 since the base URL is not included

Context / Kontext

RDMO 2.1.2

@jochenklar jochenklar self-assigned this Feb 13, 2024
@jochenklar jochenklar added this to the 2.1.3 milestone Feb 13, 2024
@jochenklar
Copy link
Member

Hi @johlton , thanks for reporting, the fix will be released in RDMO 2.1.3 (hopefully today).

@johlton
Copy link
Author

johlton commented Feb 15, 2024

Hi @jochenklar, thanks again for quick fix. I just realized, there is still an occurrence where this does not work in "Management", namely in the tooltip links after a catalog when clicking the icon for "Export catalog":

Screenshot 2024-02-15 at 14-39-32 FD-Policy-Generator Testinstanz

Should I open an new ticket for this?

@jochenklar jochenklar reopened this Feb 16, 2024
@jochenklar jochenklar modified the milestones: RDMO 2.1.3, RDMO 2.1.4 Feb 27, 2024
@MyPyDavid MyPyDavid linked a pull request Apr 4, 2024 that will close this issue
@MyPyDavid MyPyDavid modified the milestones: RDMO 2.1.4, RDMO 2.2.0 Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants