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

Enhance display of error message in viewer UI #2283

Closed
pcrespov opened this issue Apr 19, 2021 · 0 comments · Fixed by #2368
Closed

Enhance display of error message in viewer UI #2283

pcrespov opened this issue Apr 19, 2021 · 0 comments · Fixed by #2368
Assignees
Labels
a:frontend issue affecting the front-end (area group)

Comments

@pcrespov
Copy link
Member

pcrespov commented Apr 19, 2021

This is the screenshot that the UI showed when i tried a viewer that is not accessible for guest users (therefore it returns NOT AUTHORIZED 401). The error message is not visible and therefore the user cannot read the explanation of the error as well as instructions to solve it. The status code shall be also translated to a human readable message.

image

the redirection was

http://127.0.0.1:9081/#/error?message=Only+available+to+registered+users..+Please+login+or+register+at+http://127.0.0.1:9081/&status_code=401

Related with #2279.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:frontend issue affecting the front-end (area group)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants