Closed Bug 455515 Opened 11 years ago Closed 11 years ago

Local calendar tasks are not shown when a remote CalDAV calendar is not available

Categories

(Calendar :: Provider: CalDAV, defect)

defect
Not set

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mailinglists, Assigned: Fallen)

Details

(Whiteboard: [needed beta][no l10n impact])

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1
Build Identifier: Lightnin 0.9-rc1 2008090920

I use two calendars, one local and another remote caldav calendar. If I have both calendars enabled.

If while the program is starting the remote calendar is not available, Lightning does not show local calendar tasks.

I have to uncheck the remote calendar and restart the application.

Reproducible: Always

Steps to Reproduce:
1.Set up a local calendar
2.Set up a remote caldav calendar
3.Shutdown the caldav server
4.Restart the app
Actual Results:  
Task are not shown
Flags: wanted-calendar0.9?
Flags: wanted-calendar0.9?
Flags: tb-integration?
would be good to confirm this to figure out tb-integration flag.
Keywords: qawanted
Assignee: nobody → daniel.boelzle
I checked this issue and it is reproducible.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: blocking-calendar1.0?
Keywords: qawanted
OS: Windows XP → All
Hardware: PC → All
Version: unspecified → Trunk
Flags: blocking-calendar1.0? → blocking-calendar1.0+
Whiteboard: [needs investigation philipp, daniel][needed beta][no l10n impact]
Whiteboard: [needs investigation philipp, daniel][needed beta][no l10n impact] → [needed beta][no l10n impact][needs investigation philipp, daniel]
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b4pre) Gecko/20090308 Calendar/1.0pre: It works fine for using remote ics calendars. To simulate the error I turned off my internet connection.

Juan, does this issue still exists using Thunderbird 3.0b2 or 3.0b3pre together with recent Lightning 1.0pre nightly test build? If yes: do you see any calendar related messages in Tools > Error Console?
Component: General → Provider: CalDAV
QA Contact: general → caldav-provider
Summary: Local calendar tasks are not shown when a remote calendar is not available → Local calendar tasks are not shown when a remote CalDAV calendar is not available
I was able to reproduce it again with:

Mozilla/5.0 (Windows; U; Windows NT 5.1; es-ES; rv:1.9.1b3pre) Gecko/20090223 Lightning/1.0pre Thunderbird/3.0b2

and:

Lightning 1.0pre (20090223)
My Error Console log:(Advertencia=Warning)

Advertencia: Timed textboxes are deprecated. Consider using type="search" instead. Archivo de origen: chrome://messenger/content/messenger.xul Línea: 0

Advertencia: There has been an error reading data for calendar: Test Bedework.  However, this error is believed to be minor, so the program will attempt to continue. Error code: DAV_NOT_DAV. Description: The resource at http://000_juan:8080/ucaldav/user/juan/calendar is either not a DAV collection or not available

Advertencia: There has been an error reading data for calendar: Test Bedework.  However, this error is believed to be minor, so the program will attempt to continue. Error code: READ_FAILED. Description: 

Advertencia: There has been an error reading data for calendar: Test Bedework.  However, this error is believed to be minor, so the program will attempt to continue. Error code: DAV_NOT_DAV. Description: The resource at http://000_juan:8080/ucaldav/user/juan/calendar is either not a DAV collection or not available

Advertencia: There has been an error reading data for calendar: Test Bedework.  However, this error is believed to be minor, so the program will attempt to continue. Error code: READ_FAILED. Description:
Attached patch Fix - v1Splinter Review
We were not notifying all listeners, we forgot to notify the queued ones in case of an error.
Assignee: dbo.moz → philipp
Status: NEW → ASSIGNED
Attachment #367477 - Flags: review?(browning)
Whiteboard: [needed beta][no l10n impact][needs investigation philipp, daniel] → [needed beta][no l10n impact][needs review]
Thanks !! 

Now it works.
Comment on attachment 367477 [details] [diff] [review]
Fix - v1

looks good; r=dbo
Attachment #367477 - Flags: review?(browning) → review+
Pushed to comm-central <http://hg.mozilla.org/comm-central/rev/051be0137010>

-> FIXED
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → 1.0
Flags: tb-integration?
Whiteboard: [needed beta][no l10n impact][needs review] → [needed beta][no l10n impact]
Target Milestone: 1.0 → 1.0b1
Seems like this bug needs reopening. I have three local calendars and one remote one. When my internet connection is not available, I don´t get any tasks shown. I can also create new tasks and these are shown until I restart Thunderbird/Miramar.

However, when I am connected or disable my remote calendar and restart Thunderbird, the tasks are then shown.


Mozilla/5.0 (Windows NT 5.1; rv:2.0b13pre) Gecko/20110314 Thunderbird/3.3a3

Name=Lightning
Version=1.0b4pre
BuildID=20110418033922
Larsen, do you have the experimental cache enabled for that calendar?
No, I don´t. Should I?
Yes, if you would like to read your calendar while offline you need the experimental cache. We are working on full offline support, remember for now it is readonly.
I´ve activated the cache option, restarted TB and all data was shown. Strangely enough, after I disabled cache again and restarted, it was still working. Seems like it cannot be reproduced consistently...
You need to log in before you can comment on or make changes to this bug.