Closed Bug 1195800 Opened 9 years ago Closed 9 years ago

Calendars are disabled if server can't be reached

Categories

(Calendar :: Provider: CalDAV, defect)

Lightning 4.0.2
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1195974

People

(Reporter: github, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:40.0) Gecko/20100101 Firefox/40.0
Build ID: 2015080700

Steps to reproduce:

Running TB/38.1.0 and Lightning 4.0.2.

I have a CalDAV calendar that is only available in certain networks.

The computer is connected to various changing networks and cannot always reach the CalDAV server.


Actual results:

After moving out of the network the calendar is
 - deactivated
 - write protection is enabled

The error console shows:

Zeitstempel: 18.08.2015 14:31:26
Warnung: Fehler beim Lesen von Daten für Kalender: ZZZ. Fehlercode: DAV_REPORT_ERROR. Beschreibung: Es wurde ein Fehler beim Lesen des Kalenders festgestellt: http://10.0.0.2/caldav.php/zzz/calendar. Der Kalender wurde deaktiviert bis er sicher genutzt werden kann.
Quelldatei: file:///xxx/extensions/%7Byyy%7D/calendar-js/calCalendarManager.js
Zeile: 960

Zeitstempel: 18.08.2015 14:31:26
Fehler: [calCachedCalendar] replay action failed: null, uri=http://10.0.0.2/caldav.php/zzz/calendar, result=2147500037, op=[xpconnect wrapped calIOperation]
Quelldatei: file:///xxx/extensions/%7Byyy%7D/calendar-js/calCachedCalendar.js
Zeile: 322


The engl. translation of the error msg is this:
disabledMode=There has been an error reading data for calendar: %1$S. It has been disabled until it is safe to use it.


Expected results:

The behavior was introduced in the last update of Lightning.

Before that Lightning would complain that it couldn't reach the calendar but otherwise let me at least see it (offline mode is enabled).

Now I can't even see the calendar and it requires me a bunch of clicks in order to be able to use the calendar again.

Could you please revert to the previous behavior? Or at least introduce an option like "Don't deactivate calendar if server cannot be reached"?
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Component: General → Provider: CalDAV
You need to log in before you can comment on or make changes to this bug.