eclipse-tractusx / portal-frontend

Portal Frontend
Apache License 2.0
3 stars 30 forks source link

Provide proper error message handling for the technicalUserManagement Page #1034

Open MaximilianHauer opened 2 weeks ago

MaximilianHauer commented 2 weeks ago

Description

As a User WHEN i receive an error message in the technicalUserManagement page THEN i should receive a clear and understandable error messages that provides me guidance

Examples

Acceptance Criteria

manojava-gk commented 1 week ago

@MaximilianHauer can you provide a screenshot for this? Front end is showing the error message from the server as provided by the BE team.

error?.errors?.[
          'Org.Eclipse.TractusX.Portal.Backend.Administration.Service'
        ]?.[0]

@Phil91 can you check this once? FE code is 13 months old

MaximilianHauer commented 1 week ago

i did create the ticket before i had a discussion with @oyo that we should work on an a generic error handling forwarding the error message from the backend into the frontend. created a ticket for this.

if you can quick fix it i propose to do the ticket if you say it is not worth it we close it.

error response: image

manojava-gk commented 1 week ago

@MaximilianHauer I have already addressed it. @Phil91 gave this updated response. it is available in the PR