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

[EDH-3550] OPP-UI Access permissions returns misleading error in case of nothing found #126

Open
ErkkiGit opened this issue Nov 25, 2024 · 0 comments
Labels
lowPriority Low priority

Comments

@ErkkiGit
Copy link
Collaborator

ErkkiGit commented Nov 25, 2024

Problem

Bug found in live. Access permissions returns misleading error in case of nothing found

 

Steps to reproduce

Tested in DEV.

User: 38708270238

Role: 38X-AUT-ALL----F ; Open Supplier (who has no active mandates)

Agreements -> Access permissions -> Search

Expected result
No error message is displayed, only No results

Actual Result

image

{code:json}

{
    "id": "c743d212-5cc5-47ea-b551-a06ef229685a",
    "cause": {
        "message": "Permission not found",
        "code": "opp.error.business.not-found.permission",
        "queue": "parm_find_permissions_by_mandate_id_req_q",
        "traceId": "c8a1e7adf67b403ab340b088f7517e44"
    }
}
{code}

[(https://test-logs.elering.sise/s/estfeed/app/discover#/doc/65767aec-8df5-5526-b4a4-b640a18318e3/kube-app2-2024.11.22?id=ZG_wVZMBRPTN1c-4t_wL)]

Impact (If known)
Misleads the user

Work-a-round

@mailimarkvardt mailimarkvardt added the lowPriority Low priority label Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lowPriority Low priority
Projects
None yet
Development

No branches or pull requests

2 participants