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

Organization list doesn't update #1881

Closed
pranshugupta54 opened this issue Apr 6, 2024 · 10 comments
Closed

Organization list doesn't update #1881

pranshugupta54 opened this issue Apr 6, 2024 · 10 comments
Labels
bug Something isn't working

Comments

@pranshugupta54
Copy link
Member

Describe the bug
If an existing admin becomes an admin for another organization, they need to log out and log back in to view the updated list.

To Reproduce
Steps to reproduce the behavior:
Assumption: Have an admin account that is admin for some organizations and also a user for some organizations.

  1. Log in via Admin on browser 1.
  2. Log in via Superadmin on browser 2.
  3. Update the admin's role for some organization from user to admin.
  4. Now check browser 1; you won't see the organization for which you were newly made an admin.

Expected behavior
Refreshing should show the updated list of organizations for which the user is an admin.

Actual behavior
Only old organizations are listed.

Potential internship candidates
Please read this if you are planning to apply for a Palisadoes Foundation internship PalisadoesFoundation/talawa#359

@pranshugupta54 pranshugupta54 added the bug Something isn't working label Apr 6, 2024
Copy link

This issue did not get any activity in the past 10 days and will be closed in 180 days if no update occurs. Please check if the develop branch has fixed it and report again or close the issue.

@github-actions github-actions bot added the no-issue-activity No issue activity label Apr 17, 2024
@Alfredoeb9
Copy link
Contributor

Alfredoeb9 commented Jul 12, 2024

Hello 👋, I'd like to take this on please. @pranshugupta54

@pranshugupta54
Copy link
Member Author

Hey @Alfredoeb9, were you able to re-produce the same now? It's an old issue - gotta check if it's still an error

@Alfredoeb9
Copy link
Contributor

Yes was able to reproduce looks like on the OrgList Screen, the problem is it checks against the localStorage but localStorage only gets updated on the login screen.

@pranshugupta54
Copy link
Member Author

Yeah so we were actually planning to implement state management for the whole instead of localStorage. (We'll do this after GSoC2024 ends, this may introduce major bugs for all contributors)

@Alfredoeb9
Copy link
Contributor

Alfredoeb9 commented Jul 13, 2024

Sounds good, that's what I trying for as a solution but didn't find a redux reducer for such category.

@github-actions github-actions bot removed the no-issue-activity No issue activity label Aug 16, 2024
Copy link

This issue did not get any activity in the past 10 days and will be closed in 180 days if no update occurs. Please check if the develop branch has fixed it and report again or close the issue.

@github-actions github-actions bot added the no-issue-activity No issue activity label Aug 27, 2024
@sethdivyansh
Copy link
Contributor

@pranshugupta54 can i work on this issue?

@github-actions github-actions bot removed the no-issue-activity No issue activity label Oct 15, 2024
@sethdivyansh sethdivyansh removed their assignment Oct 21, 2024
@SGI-CAPP-AT2
Copy link
Contributor

@palisadoes @pranshugupta54 ,
Can I work on this issue?

@SGI-CAPP-AT2
Copy link
Contributor

I think this issue should not be resolved right now as mentioned in comment #1881 (comment)
Sorry for wasting the time
I will unassign myself

@SGI-CAPP-AT2 SGI-CAPP-AT2 removed their assignment Oct 24, 2024
@pranshugupta54 pranshugupta54 closed this as not planned Won't fix, can't repro, duplicate, stale Oct 24, 2024
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

5 participants