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

Deletion of badges not done correctly, IDs not deleted in users, and posts collections. #25

Open
bchewy opened this issue Nov 8, 2023 · 1 comment
Labels
bug Something isn't working existing fixed wontfix This will not be worked on

Comments

@bchewy
Copy link
Owner

bchewy commented Nov 8, 2023

Badges do not show up for users whom have a reference to a badge that cannot be found.

eg: user @brian has a badge object of 6543e659026d707dafd1e56c, but the backend call to http://127.0.0.1:5000/badges/6543e659026d707dafd1e56c shows that it cannot be found.

This is because we've previously deleted the badge, but the update to the user document wasnt made.

Root Cause:
Deletion of the user badges are not propogated through to users, posts

@bchewy bchewy added the bug Something isn't working label Nov 8, 2023
@bchewy bchewy changed the title Leaderboard friend badges are not showing up Leaderboard friend badges are not showing up - Deletion of badge not proper Nov 8, 2023
@bchewy bchewy self-assigned this Nov 8, 2023
@bchewy bchewy added the existing label Nov 8, 2023
@bchewy
Copy link
Owner Author

bchewy commented Nov 8, 2023

had to remove the previous badges id associated to different users, of those badges whom were deleted

@bchewy bchewy added the fixed label Nov 8, 2023
@bchewy bchewy changed the title Leaderboard friend badges are not showing up - Deletion of badge not proper Deletion of badges not done correctly, IDs not deleted in users, and posts collections. Nov 8, 2023
@bchewy bchewy removed their assignment Nov 8, 2023
@bchewy bchewy added the wontfix This will not be worked on label Nov 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working existing fixed wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant