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

Folder hierarchy broken on special folders corner case #9452

Closed
alecpl opened this issue May 16, 2024 · 1 comment
Closed

Folder hierarchy broken on special folders corner case #9452

alecpl opened this issue May 16, 2024 · 1 comment

Comments

@alecpl
Copy link
Member

alecpl commented May 16, 2024

If you have such a list of folders:

S: * LIST (\HasChildren) "/" INBOX
S: * LIST (\HasNoChildren) "/" INBOX/aaa
S: * LIST (\HasChildren) "/" INBOX/Junk
S: * LIST (\HasNoChildren) "/" INBOX/Junk/sub-junk
S: * LIST (\HasNoChildren) "/" INBOX/next
...

And you set junk_mbox = "INBOX/Junk", the hierarchy on the list of folders (in Settings and anywhere else) will be broken. The Junk folder will not appear as a top-level folder and "INBOX/next" will be in a wrong place.

The server has no personal namespace prefix (but allows creating folders under INBOX).

@alecpl alecpl added this to the 1.7-beta milestone May 16, 2024
alecpl added a commit that referenced this issue May 16, 2024
@alecpl
Copy link
Member Author

alecpl commented May 16, 2024

Fixed. Not planned to be backported as it's a heavy change.

@alecpl alecpl closed this as completed May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant