Fix: Inconsistencies due to ALTREP parameter#1916
Fix: Inconsistencies due to ALTREP parameter#1916raimund-schluessler merged 3 commits intonextcloud:masterfrom
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. |
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.