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

[BUG] NotAuthorized component links to /beta/beta/settings/my-user-access in beta #892

Closed
josejulio opened this issue Jan 18, 2021 · 2 comments · Fixed by #895
Closed

[BUG] NotAuthorized component links to /beta/beta/settings/my-user-access in beta #892

josejulio opened this issue Jan 18, 2021 · 2 comments · Fixed by #895
Labels
bug Something isn't working

Comments

@josejulio
Copy link
Member

Describe the bug

When the NotAuthorized component shows in a beta environment, it has an invalid link: /beta/beta/settings/my-user-access

To Reproduce
Steps to reproduce the behavior:

  1. Go to a page that shows the NotAuthorized component in a beta environment.
  2. See where the My User Access link points to.
  3. Click it.
  4. See 404 error.

Expected behavior
Link should be: /beta/settings/my-user-access

Desktop (please complete the following information):

  • OS: Fedora 33
  • Browse:r Chrome
  • Version: 87.0.4280.66 (Official Build) (64-bit)

Additional context
I think the issue is because all the beta pages have the <base href=/beta/> and the component also adds the ./beta

@josejulio josejulio added the bug Something isn't working label Jan 18, 2021
@josejulio
Copy link
Member Author

@karelhala
Copy link
Collaborator

@josejulio yeah, that's definetly a bug, when we used both ./ and calculated the beta ourselves.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants