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

[CDSToolkit][ConsentMgr] - White screen coming when clicking on consent amendment history item #248

Open
anjuchamantha opened this issue Jan 6, 2025 · 1 comment

Comments

@anjuchamantha
Copy link
Contributor

Description:
This error is observed when clicking on a consent amendment history item of a consent created by [email protected] a user with only internal/subscribe role using the customer care officer.

Screenshot 2025-01-06 at 11 57 18 AM

Suggested Labels:

Suggested Assignees:

Affected Product Version:
CDS Toolkit

OS, DB, other environment details and versions:

Steps to reproduce:

  1. Create a consent from [email protected] a user with only internal/subscriber role.
  2. Amend that consent
  3. Login to consent manager portal using a customer care officer
  4. Go to that consent and extract Consent Amendments History
  5. Click on an amendment item. (shows a white screen)

Related Issues:

@anjuchamantha
Copy link
Contributor Author

This issue is not there for a consent created by [email protected]. Observed that only the auth_type = "primary_member" accounts are fetched [1] and there are no accounts with auth_type as primary_member in the account list and all the authTypes are linked_member [2]

[1] https://github.com/wso2/reference-implementation-consumerdatastandards-au/blob/c68d45b31eaa578001b6c727a96dd9785a7c0c82/react-apps/self-care-portal-frontend/toolkit/src/cdsHooks/usePermissionData.jsx#L57

[2]
Screenshot 2025-01-06 at 12 10 13 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant