-
Notifications
You must be signed in to change notification settings - Fork 241
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
Calendar ignores ical DESCRIPTION;ALTREP when updating event description #3863
Comments
Thanks for the bug report. As a sidenote, we will probably use RFC9073's |
The bug comes from the data being inconsistent now. When the description changes, the parameters of the The expected minimal behavior is that NextCloud, when writing the So, the fix here should be simple: When setting |
Given that the property parameters describe the property (not the whole calendar item, just this property), and the property changed, it's reasonable to assume that the parameters which described the old property are no longer valid. |
The same issue comes with X-ALT-DESC, which is used by other clients like Outlook and eM-Client to add an HTML representation of the description value. Would it be possible to delete the field, too, once the description is changed in Nextlcoud? |
This should be fixed in #3924. All parameters should be deleted upon modification of the description. Can you give exact reproduction steps or excerpts from ics files? |
@Gorendal Could you file a new ticket about that, and mention the new ticket number here? While it's the same symptom, the cause is different, because ALTREP is a "parameter" of the modified DESCRIPTION property, whereas X-ALT-DESC is a completely different property. It needs a different fix. |
@Gorendal @benbucksch Please refer to #4744. |
@st3iny @benbucksch is there still something to be done from my side? |
@Gorendal Possibly in reaction to your comment, @st3iny filed a new ticket #4744, which captures the problem that you raised. (It is a different problem than this ticket here, and this ticker here is already fixed, therefore it needed a new ticket.) Good news is that #4744 was already fixed by @st3iny, so the problem you mentioned should be fixed now. It was even backported to NextCloud 3.5.x and 4.1.x. You can test the next NextCloud release, whether it fixes your issue. Otherwise, there's nothing more to do. Any comments should be posted to #4744. |
@benbucksch Sounds great. I am happy to test it. I just checked my Nextlcloud instance and it anyway offers an update to 25.0.2. So my current Calendar version is 4.1.0. However: SUMMARY:Test Meeting 1 I wonder if I can check somehow the Nextcloud files on my server, if st3iny's fix is already available? |
@Gorendal The fix is yet to be released. It will most likely be included in v4.1.1 and any later version. |
Discussion started at Bugzilla of the Thunderbird Project: 1748002
Preamble: Thunderbird introduced formatting options for event descriptions that are saved via CalDAV as
DESCRIPTION;ALTREP
. Thunderbird always saves a HTML version (formatted) and a plain text version of the event description like defined in RFC5545.Steps to reproduce
DESCRIPTION;ALTREP="data:text/html,%3Cbody%3Etest%3C%2Fbody%3E":test
DESCRIPTION;ALTREP="data:text/html,%3Cbody%3Etest%3C%2Fbody%3E":1111111111111111test
ALTREP
.Expected behaviour
After a discussion at bugzilla.mozilla.org (1748002) it seems not correct that Nextcloud updates only the plaintext version of the event description without modifying or deleting the alternative representation under
ALTREP
. Other CalDAV clients like mobile phone apps seem to delete everything underALTREP
when the plaintext version has been modified by the user.The problem is that actually the user does not see modifications made via Nextcloud (for example in shared calendars) and therefore overwrites these changes if he tries to update the event description using Thunderbird.
Naturally the best solution would be if Nextcloud Calendar would show the formatted version instead of the plaintext version 😉, but at the moment it seems important that Thunderbird users aren't going to overwrite changes made using Nextcloud.
Actual behaviour
As you can see Nextcloud only updates the plain text description, but the HTML description in ALTREP isn't updated nor deleted.
Calendar app
Calendar app version: 3.0.4
CalDAV-clients used: Thunderbird Lightning, DAVx5, Simple Calendar (Android) for tests
Client configuration
Browser: Firefox 91.4.1
Operating system: Windows 10
Nextcloud Version: 21.0.7
The text was updated successfully, but these errors were encountered: