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

Provide proper error message handling for the technicalUserManagement Page #1034

Closed
3 tasks
MaximilianHauer opened this issue Aug 26, 2024 · 4 comments
Closed
3 tasks
Assignees
Labels
enhancement New feature or request

Comments

@MaximilianHauer
Copy link

MaximilianHauer commented Aug 26, 2024

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

  • Deletion of a technical user that is still pending
  • Delete a user with an active connector/subscription

Acceptance Criteria

  • When an error occurs in the backend, the frontend should display the error message provided by the backend.
  • The error message should be displayed in a prominent and accessible location on the user interface, such as a dedicated error section or a modal/popup.
  • The error message should be clear, concise, and easy to understand for the user.
@MaximilianHauer MaximilianHauer added the enhancement New feature or request label Aug 26, 2024
@MaximilianHauer MaximilianHauer added this to the Release 24.12 milestone Aug 26, 2024
@github-project-automation github-project-automation bot moved this to NEW USER REQUEST in Portal Aug 26, 2024
@MaximilianHauer MaximilianHauer moved this from NEW USER REQUEST to BACKLOG in Portal Aug 26, 2024
@manojava-gk manojava-gk self-assigned this Sep 2, 2024
@manojava-gk
Copy link
Contributor

@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
Copy link
Author

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
Copy link
Contributor

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

@MaximilianHauer
Copy link
Author

@manojava-gk if i try to delete a tec user that has an active connector i receive an error message in the console but no where in the frontend :O nothing happens.
Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

No branches or pull requests

2 participants