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

Unstable - Deleted folders/resources keep reappearing #3507

Closed
pcenov opened this issue Aug 10, 2022 · 3 comments · Fixed by #3590
Closed

Unstable - Deleted folders/resources keep reappearing #3507

pcenov opened this issue Aug 10, 2022 · 3 comments · Fixed by #3590
Assignees
Labels
DEV: frontend P0 - critical Priority: Release blocker or regression

Comments

@pcenov
Copy link
Member

pcenov commented Aug 10, 2022

Observed behavior

I've been noticing cases where deleted folders/resources reappear after a certain sequence of actions.
For example if I delete several folders and I click Add > New folder I do see the folders reappearing but this is not always the case.
Also after signing out and signing in again I can see folders that I've previously deleted.

Expected behavior

Deleted folders should not reappear.

Steps to reproduce the issue

  1. Go to https://unstable.studio.learningequality.org/en/accounts/#/ and sign in
  2. Go to Edit channel delete some folders and then click Add > New folder

Additional information

2022-08-10_19-02-34.mp4

Usage Details

@pcenov
Copy link
Member Author

pcenov commented Aug 10, 2022

@radinamatic

@bjester bjester added P0 - critical Priority: Release blocker or regression DEV: frontend labels Aug 11, 2022
@bjester
Copy link
Member

bjester commented Aug 11, 2022

I think I understand what's happening here-- our tree insert logic needs access to the sibling nodes. Since all of the folders were deleted, no siblings were found so it loaded them from the server, but the server hadn't necessarily applied the changes that deleted them yet.

@pcenov pcenov changed the title Unstable - Deleted folders keep reappearing Unstable - Deleted folders/resources keep reappearing Aug 12, 2022
@pcenov
Copy link
Member Author

pcenov commented Aug 12, 2022

I've updated the description to include 'resources' as well. Also noticed that if I share a channel with deleted folders/resources with a peer the peer is able to see the deleted folders/resources which is quite confusing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DEV: frontend P0 - critical Priority: Release blocker or regression
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants