REPRODUCIBILITY: 100%
OS VERSION: 4.5.0.24
HARDWARE: Sony Xperia XA2 Plus, Sony Xperia 10 iii
UI LANGUAGE: English
REGRESSION: Unknown
DESCRIPTION:
I have a calendar that synchronizes with Nextcloud which is used to keep a diary of all my meetings and appointments. Many of these are entered manually by me, but some are imported from .ics files sent to me as email attachments by others arranging meetings which involve me. This bug only concerns the latter situation (the .ics import).
Generally the import works perfectly for the first time in all cases. In other words somebody sends you a diary invite, you import it, and there is it correctly in your calendar. This also synchronises correctly with Nextcloud and replicates correctly across my other Sailfish phones, ipads, etc.
But, if the sender of the calendar invite then decides to change some aspect of the meeting (time date) by updating his or her original diary entry and re-sending the updated .ics file to me, then it all goes wrong.
Importing the updated .ics file into Sailfish calendar works initially - SFOS advises you that the entry already exists and asks if would you like to overwrite it (yes) - and then the original calendar entry is locally updated to the new time, date or whatever. However, when it re-synchronises with Nextcloud the locally updated version on the phone is reset to what was in the original .ics file and the updates are lost. Other SFOS and IOS devices also retain the original entry.
If you try to delete the original entry and then import the updated one on the SFOS phone, it works correctly until synchronisation with Nextcloud, whereupon the the newly imported updated entry disappears completely (as it does across all synchronised devices).
Its almost as if both the original and updated .ics files have the same index number or something and SFOS synchronisation with Nextcloud sees them to be exactly the same - so if you delete original .ics entry with index number X then, when trying to synchronise the updated entry the process says 'Ah I’ve just deleted (old) entry X, so i need to delete (updated) entry X of the phone.
PRECONDITIONS:
You need a Nextcloud account and have calendar synchronisation set in SFOS.
STEPS TO REPRODUCE:
- Import an .ics file locally on SFOS phone - it appears in calendar correctly
- Synchronise with Nextcloud - correct entry details are replicated across all devices
- Import an updated version of the same .ics file on SFOS phone - it appears in calendar correctly
- Synchronise with Nextcloud - The entry details are incorrectly reset to those in the original .ics file
EXPECTED RESULT:
The updated details in the .ics file should take precedence over the original details - the updated calendar entry should be displayed correctly
ACTUAL RESULT:
The original, and now incorrect, calendar entry details persist
MODIFICATIONS:
Some Openrepos apps
Patch Manager - single patch - display emergency contact text on lock screen