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

Forbidden 403 error on clicking Search Student in Public Institution Portal #2074

Closed
sh16011993 opened this issue Jul 4, 2023 · 0 comments
Closed
Assignees
Labels
Bug Something isn't working

Comments

@sh16011993
Copy link
Collaborator

sh16011993 commented Jul 4, 2023

Describe the Bug
Forbidden User 403 error is shown when clicking on Search Student in Public Institution Portal.

Expected Behaviour
Search Student page should show up as expected.

Actual Behaviour
Forbidden User 403 error is shown.

Error
image.png

** Steps To Reproduce**

  1. Login to Public Institution Portal.
  2. Click on 'Search Student'.
  3. Forbidden User 403 error shows up.

The store reference was wrong at this part of the code and due to the same, useInstitutionAuth was always returning undefined for isBCPublic.

image

the store refernce must be store.state.institution.institutionState?.isBCPublic

@sh16011993 sh16011993 added the Bug Something isn't working label Jul 4, 2023
@dheepak-aot dheepak-aot self-assigned this Jul 4, 2023
dheepak-aot added a commit that referenced this issue Jul 4, 2023
Fix the store reference
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants