Closed Bug 1258193 Opened 8 years ago Closed 6 years ago

Remote events disappear on some dates after restarting the Calendar app

Categories

(Firefox OS Graveyard :: Gaia::Calendar, defect)

ARM
Gonk (Firefox OS)
defect
Not set
major

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: mossroy, Unassigned)

Details

Attachments

(3 files)

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.
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.
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
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: