Remote events disappear on some dates after restarting the Calendar app

RESOLVED WONTFIX

Status

--
major
RESOLVED WONTFIX
3 years ago
a year ago

People

(Reporter: mossroy, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(3 attachments)

(Reporter)

Description

3 years ago
On some specific ranges of dates, the calendar does not keep remotely-created events after the initial fetch : they disappear after restarting the app (or the device).

Steps to reproduce :
- create a calendar on a remote server, with events on March 2016 (at least for example on 2016-03-14 and 2016-03-17). I tested with davical (caldav server) and with Google calendar
- configure this calendar on Firefox OS >=2.2. I tested on Flame 2.2, 2.5 (2015-11-09) and ZTE Open C 2.6 (2016-02-26)
- all events appear correctly on the calendar
- close and reopen the calendar app

Expected result :
- all events should appear

Actual result :
- only the events before 2016-03-15 appear (in March, but events on April appear fine)

Workaround : delete the calendar subscription on the device, and reconfigure it. But it will only last until the next app restart (or sometimes until the next server sync).

It does not seem to depend on the calendar content. It also occurs with a very simple calendar with only one event.
It occurs on some specific ranges of dates : at least from 2016-03-16 to 2016-03-27. It is also the case in some dates of December 2015 and January 2016.

If you create the event on the phone, it's working fine.
If you create the event on the server, it will appear on next sync, but disappears after restarting the app.
I don't have this issue on Firefox OS 2.1 (ZTE Open C)

It behaves as if the events were properly read from the server, but fail to be stored on the device.
(Reporter)

Comment 2

3 years ago
I have the same issue with other backend servers : baikal, owncloud and nextcloud.
I saw no error thrown in adb logcat, except some "E/QCALOG  (  698): [MessageQ] ProcessNewMessage: [XT-CS] unknown deliver target [OS-Agent]" that are probably not related.
(Reporter)

Comment 4

2 years ago
I submitted a PR that fixes this issue. It's probably not perfect, and I know this PR has no chances to be merged, as Firefox OS development has been stopped by Mozilla.
If it might help someone else, I have blogged (in French) about this issue and published a fixed application.zip, ready to be uploaded on a Firefox OS 2.5 device : https://blog.mossroy.fr/2016/10/23/peaufiner-son-zte-open-c-en-firefox-os-2-5/#Installer_le_correctif_sur_lrsquoagenda

Comment 5

a year ago
Firefox OS is not being worked on
Status: NEW → RESOLVED
Last Resolved: a year ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.