Skip to content

Frontend does not display correctly error message with 5XX #6503

@pcrespov

Description

@pcrespov

Is there an existing issue for this?

  • I have searched the existing issues

Which deploy/s?

development (master)

Current Behavior

ON a 5XX response, the front-end does nto display the error message in the respons

Expected Behavior

On a 5XX response, if there is an error message in the response, it should be shown, otherwise use a default message

Steps To Reproduce

In order to reproduce an unexpected error, build and local, checkout master on commit 997eeb3

  1. git checkout 997eeb3129754d3295ddbca13afb788f78386a31
  2. make build
  3. make up-prod
  4. in the db select a product (e.g. osparc)
  5. remove the groups_extra_properties row associated to that product -> this will make the configuration invalid and in this commit this error was not handled correctly.
  6. try to login
  7. it will fail displaying a strange message

image

Anything else?

From #6432, the response is standard

I did a reference to it in #6485 (review) as well.

Metadata

Metadata

Labels

bugbuggy, it does not work as expected

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions