-
Notifications
You must be signed in to change notification settings - Fork 100
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
Fix: Inconsistencies due to ALTREP parameter #1916
Conversation
Thanks, max, for the patch! As mentioned in nextcloud/calendar#3863 (comment) , I would recommend to delete all unknown parameters. They give additional information about the description specifically (not the entire calendar item), but the description changed, so any parameter that is still here is in risk of being out of sync now. |
Signed-off-by: Maximilian Martin <maximilian_martin@gmx.de>
Codecov Report
@@ Coverage Diff @@
## master #1916 +/- ##
============================================
- Coverage 30.31% 30.30% -0.01%
Complexity 41 41
============================================
Files 66 66
Lines 3216 3217 +1
Branches 665 665
============================================
Hits 975 975
- Misses 2241 2242 +1 |
Signed-off-by: Maximilian Martin <maximilian_martin@gmx.de>
Agreed! Now all parameters are being removed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like the idea
Signed-off-by: Maximilian Martin <maximilian_martin@gmx.de>
Hi there! |
Hi Max! |
Fix is in #2240. |
This PR addresses an inconsistency issue with Thunderbird. In addition to the plain text description of a task, Thunderbird also saves a formatted HTML version inside the ALTREP parameter. NC calendar does not alter the ALTREP parameter when the plain text description is changed. This results in inconsistencies.
The proposed solution deletes the ALTREP parameter upon modification. This prevents inconsistencies. Thunderbird keeps accepting plaintext-only descriptions.
I have opened a similar PR in nextcloud/calendar as it is equally concerned.