[GH-ISSUE #573] Deleting an account messes up the list of folders in "Everything", and the special folders #412

Closed
opened 2026-02-25 21:34:58 +03:00 by kerem · 8 comments
Owner

Originally created by @marclaporte on GitHub (Jun 26, 2022).
Original GitHub issue: https://github.com/cypht-org/cypht/issues/573

Originally assigned to: @kroky on GitHub.

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 https://github.com/jasonmunro/cypht-website/issues/25
  3. Delete an IMAP and SMTP account
  4. Check if Combined View has changed
Originally created by @marclaporte on GitHub (Jun 26, 2022). Original GitHub issue: https://github.com/cypht-org/cypht/issues/573 Originally assigned to: @kroky on GitHub. 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 https://github.com/jasonmunro/cypht-website/issues/25 3. Delete an IMAP and SMTP account 4. Check if Combined View has changed
kerem closed this issue 2026-02-25 21:34:58 +03:00
Author
Owner

@marclaporte commented on GitHub (Jul 10, 2022):

2022-07-10_140800
<!-- gh-comment-id:1179773754 --> @marclaporte commented on GitHub (Jul 10, 2022): <img width="473" alt="2022-07-10_140800" src="https://user-images.githubusercontent.com/1004261/178156876-cb618938-7e36-4342-9753-978ef3cadb6b.png">
Author
Owner

@marclaporte commented on GitHub (Jul 14, 2022):

There was an attempt to solve but was reverted because of unwanted side-effects: https://github.com/jasonmunro/cypht/pull/454

<!-- gh-comment-id:1184926037 --> @marclaporte commented on GitHub (Jul 14, 2022): There was an attempt to solve but was reverted because of unwanted side-effects: https://github.com/jasonmunro/cypht/pull/454
Author
Owner

@marclaporte commented on GitHub (Jul 31, 2022):

@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.

<!-- gh-comment-id:1200470891 --> @marclaporte commented on GitHub (Jul 31, 2022): @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.
Author
Owner

@marclaporte commented on GitHub (Jul 31, 2022):

@henrique-borba https://github.com/jasonmunro/cypht/issues/380

<!-- gh-comment-id:1200485626 --> @marclaporte commented on GitHub (Jul 31, 2022): @henrique-borba https://github.com/jasonmunro/cypht/issues/380
Author
Owner

@marclaporte commented on GitHub (Aug 12, 2022):

@henrique-borba A good question for you here: https://github.com/jasonmunro/cypht/pull/591

<!-- gh-comment-id:1213379959 --> @marclaporte commented on GitHub (Aug 12, 2022): @henrique-borba A good question for you here: https://github.com/jasonmunro/cypht/pull/591
Author
Owner

@marclaporte commented on GitHub (Aug 19, 2022):

So we should avoid re-using IDs for

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

What else?

<!-- gh-comment-id:1220750886 --> @marclaporte commented on GitHub (Aug 19, 2022): So we should avoid re-using IDs for - Servers (IMAP, JMAP, SMTP) - Profiles - Folders What else?
Author
Owner

@marclaporte commented on GitHub (Sep 23, 2022):

Henrique is working to move everything to stable IDs:
https://github.com/jasonmunro/cypht/pull/625

<!-- gh-comment-id:1256586857 --> @marclaporte commented on GitHub (Sep 23, 2022): Henrique is working to move everything to stable IDs: https://github.com/jasonmunro/cypht/pull/625
Author
Owner

@marclaporte commented on GitHub (Feb 16, 2024):

Solved for Cypht 2.0: https://github.com/cypht-org/cypht/pull/625

<!-- gh-comment-id:1948294997 --> @marclaporte commented on GitHub (Feb 16, 2024): Solved for Cypht 2.0: https://github.com/cypht-org/cypht/pull/625
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cypht#412
No description provided.