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

Deleting an account messes up the list of folders in "Everything", and the special folders #573

Closed
marclaporte opened this issue Jun 26, 2022 · 8 comments
Assignees
Milestone

Comments

@marclaporte
Copy link
Member

marclaporte commented Jun 26, 2022

I deleted an account (both SMTP and IMAP), and the my "Everything" section has some folders it didn't have before.

Looks like the deletion has shifted the folders as if they are using IDs that change.

1st challenge is to reproduce the bug:

  1. Add many IMAP and SMTP accounts
  2. Configure Combined Views Add information about Combined View feature to Cypht.org cypht-website#25
  3. Delete an IMAP and SMTP account
  4. Check if Combined View has changed
@marclaporte
Copy link
Member Author

2022-07-10_140800

@marclaporte marclaporte changed the title Deleting an account messes up the list of folders in "Everything" Deleting an account messes up the list of folders in "Everything", and the special folders Jul 10, 2022
@marclaporte marclaporte added this to the 1.4 milestone Jul 10, 2022
@marclaporte
Copy link
Member Author

There was an attempt to solve but was reverted because of unwanted side-effects: #454

@marclaporte
Copy link
Member Author

@henrique-borba I deleted an IMAP account, and I expected this would delete the associated folder. It looked like it worked because they were no longer listed. But later, when I re-added the IMAP account, the folders came back. So I interpret that they were not deleted but orphaned.

@marclaporte
Copy link
Member Author

@henrique-borba #380

@marclaporte
Copy link
Member Author

@henrique-borba A good question for you here: #591

@marclaporte
Copy link
Member Author

marclaporte commented Aug 19, 2022

So we should avoid re-using IDs for

  • Servers (IMAP, JMAP, SMTP)
  • Profiles
  • Folders

What else?

@marclaporte
Copy link
Member Author

Henrique is working to move everything to stable IDs:
#625

@marclaporte
Copy link
Member Author

Solved for Cypht 2.0: #625

@marclaporte marclaporte modified the milestones: 1.5, 2.0 Mar 22, 2024
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

2 participants