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

Show sync error notification even with big local resource #1139

Conversation

rfc2822
Copy link
Member

@rfc2822 rfc2822 commented Nov 21, 2024

Previously, a big local resource prevented the sync error notification from being shown because the notification Intent must not be larger than the IPC limit (1 MB).

This PR truncates the String representation of the local resources to max. 10k characters so it will be more readable and won't be larger then the IPC limit.

@rfc2822 rfc2822 linked an issue Nov 21, 2024 that may be closed by this pull request
2 tasks
@rfc2822 rfc2822 self-assigned this Nov 21, 2024
@rfc2822 rfc2822 added the bug Something isn't working label Nov 21, 2024
@rfc2822 rfc2822 changed the title Sync error notification: truncate local info Show sync error notification even with big local resource Nov 21, 2024
@rfc2822 rfc2822 marked this pull request as ready for review November 21, 2024 23:28
@rfc2822 rfc2822 merged commit fe8eabc into main-ose Nov 21, 2024
10 checks passed
@rfc2822 rfc2822 deleted the 1138-transactiontoolargeexception-during-sync-doesnt-cause-notification branch November 21, 2024 23:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TransactionTooLargeException during sync doesn't cause notification
1 participant