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

8307 remove support for legacy mailfolders non static mail listids #8474

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jomapp
Copy link
Contributor

@jomapp jomapp commented Feb 5, 2025

No description provided.

jomapp and others added 2 commits February 5, 2025 13:02
Element and list element instances with customIds must be stored with
their elementIds encoded as base64Ext in the offline database, to
ensure that these elementIds are sortable when running SQL queries.
When received from our server customId are encoded with base64Url,
which is not sortable!
When introducing MailSetEntries, which are using
custom elementIds (customId type), we did refactor the OfflineStorage
in such a way that all publicly exposed methods guarantee the correct
encoding before reading / writing from / to the database. With a later
commit f99bd69 some methods in the
OfflineStorage got refactored which led to wrong encodings in certain
scenarios. This commit ensures that custom elementIds are encoded
correctly and are sortable in the OfflineStorage again.
@jomapp jomapp linked an issue Feb 5, 2025 that may be closed by this pull request
12 tasks
@jomapp jomapp marked this pull request as draft February 5, 2025 17:55
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

Successfully merging this pull request may close these issues.

remove support for legacy MailFolders (non-static mail listIds)
1 participant