Closed Bug 527960 Opened 15 years ago Closed 15 years ago

Alarms not handled properly when using Exchange calendar via CalDAV through DavMail

Categories

(Calendar :: Alarms, defect)

x86
Windows Vista
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: Terry.Rosenbaum, Unassigned)

Details

Attachments

(5 files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.4) Gecko/20091016 Firefox/3.5.4 (.NET CLR 3.5.30729)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.6pre) Gecko/20091110

Event alarms appear to not be saved to server or not parsed/displayed properly.

Reproducible: Always

Steps to Reproduce:
1) Create a new event with a reminder for 1 hour before event
2) Event is put to server including VALARM definition
3) Event is shown on calendar view with an alarm icon and a suppressed alarm icon
(Show alarms property is true for this server).
4) Edit event - alarm chooser shows "Custom" and no "Custom" alarm is set
5) Save event
6) Event is shown on calendar view with no alarm icons
7) Edit event again
8) Event editor reminder chooser shows "No Reminder"
Actual Results:  
Event ends up with no reminder.

Expected Results:  
Event ends up with 1 reminder - a standard "1 hour before" reminder

Using DavMail 3.5.0-745 as gateway to Exchange server 2007 and my private calendar stored there. All events with reminders show 2 alarm icons - one normal and one suppressed. No events alarms from this calendar ever fire.

DavMail log snippet showing created event:

2009-11-11 13:08:46,729 DEBUG [CaldavConnection-50016] davmail  - < PUT /users/terry@amicas.com/calendar/94716a45-b830-435e-a56e-7c3ef787a70d.ics HTTP/1.1
2009-11-11 13:08:46,735 DEBUG [CaldavConnection-50016] davmail  - < Host: localhost:1080
2009-11-11 13:08:46,747 DEBUG [CaldavConnection-50016] davmail  - < User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.6pre) Gecko/20091110 Calendar/1.0pre
2009-11-11 13:08:46,748 DEBUG [CaldavConnection-50016] davmail  - < Accept: text/xml
2009-11-11 13:08:46,751 DEBUG [CaldavConnection-50016] davmail  - < Accept-Language: en-us,en;q=0.5
2009-11-11 13:08:46,768 DEBUG [CaldavConnection-50016] davmail  - < Accept-Encoding: gzip,deflate
2009-11-11 13:08:46,777 DEBUG [CaldavConnection-50016] davmail  - < Accept-Charset: utf-8,*;q=0.1
2009-11-11 13:08:46,790 DEBUG [CaldavConnection-50016] davmail  - < Keep-Alive: 300
2009-11-11 13:08:46,793 DEBUG [CaldavConnection-50016] davmail  - < Connection: keep-alive
2009-11-11 13:08:46,800 DEBUG [CaldavConnection-50016] davmail  - < Content-Length: 855
2009-11-11 13:08:46,803 DEBUG [CaldavConnection-50016] davmail  - < Content-Type: text/calendar; charset=utf-8
2009-11-11 13:08:46,804 DEBUG [CaldavConnection-50016] davmail  - < If-None-Match: *
2009-11-11 13:08:46,815 DEBUG [CaldavConnection-50016] davmail  - < Authorization: ********
2009-11-11 13:08:46,816 DEBUG [CaldavConnection-50016] davmail  - < Pragma: no-cache
2009-11-11 13:08:46,818 DEBUG [CaldavConnection-50016] davmail  - < Cache-Control: no-cache
2009-11-11 13:08:46,828 DEBUG [CaldavConnection-50016] davmail  - < 
2009-11-11 13:08:46,840 DEBUG [CaldavConnection-50016] davmail.caldav.CaldavConnection  - < BEGIN:VCALENDAR
PRODID:-//Mozilla.org/NONSGML Mozilla Calendar V1.1//EN
VERSION:2.0
BEGIN:VTIMEZONE
TZID:America/New_York
X-LIC-LOCATION:America/New_York
BEGIN:DAYLIGHT
TZOFFSETFROM:-0500
TZOFFSETTO:-0400
TZNAME:EDT
DTSTART:19700308T020000
RRULE:FREQ=YEARLY;BYDAY=2SU;BYMONTH=3
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:-0400
TZOFFSETTO:-0500
TZNAME:EST
DTSTART:19701101T020000
RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=11
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
CREATED:20091111T180728Z
LAST-MODIFIED:20091111T180846Z
DTSTAMP:20091111T180846Z
UID:94716a45-b830-435e-a56e-7c3ef787a70d
SUMMARY:New Event
DTSTART;TZID=America/New_York:20091111T161500
DTEND;TZID=America/New_York:20091111T171500
BEGIN:VALARM
ACTION:DISPLAY
TRIGGER;VALUE=DURATION:-PT1H
DESCRIPTION:Default Mozilla Description
END:VALARM
END:VEVENT
END:VCALENDAR

2009-11-11 13:08:46,840 DEBUG [CaldavConnection-50016] davmail  - Set socket timeout to 300 seconds
2009-11-11 13:08:47,235 DEBUG [CaldavConnection-50016] davmail  - > HTTP/1.1 201 Created
2009-11-11 13:08:47,235 DEBUG [CaldavConnection-50016] davmail  - > Server: DavMail Gateway 3.5.0-745
2009-11-11 13:08:47,236 DEBUG [CaldavConnection-50016] davmail  - > DAV: 1, calendar-access, calendar-schedule, calendarserver-private-events
2009-11-11 13:08:47,236 DEBUG [CaldavConnection-50016] davmail  - > Date: Wed, 11 Nov 2009 13:08:47 -0500
2009-11-11 13:08:47,236 DEBUG [CaldavConnection-50016] davmail  - > Expires: Wed, 11 Nov 2009 13:08:47 -0500
2009-11-11 13:08:47,236 DEBUG [CaldavConnection-50016] davmail  - > Cache-Control: private, max-age=0
2009-11-11 13:08:47,237 DEBUG [CaldavConnection-50016] davmail  - > ETag: "5286d680d732434ab1f57ec071ca5bc600000c34d0ee"
2009-11-11 13:08:47,237 DEBUG [CaldavConnection-50016] davmail  - > Connection: keep-alive
2009-11-11 13:08:47,237 DEBUG [CaldavConnection-50016] davmail  - > Content-Length: 0
2009-11-11 13:08:47,237 DEBUG [CaldavConnection-50016] davmail  - > 
2009-11-11 13:08:47,242 DEBUG [CaldavConnection-50016] davmail  - < REPORT /users/terry@amicas.com/calendar/ HTTP/1.1
2009-11-11 13:08:47,243 DEBUG [CaldavConnection-50016] davmail  - < Host: localhost:1080
2009-11-11 13:08:47,254 DEBUG [CaldavConnection-50016] davmail  - < User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.6pre) Gecko/20091110 Calendar/1.0pre
2009-11-11 13:08:47,256 DEBUG [CaldavConnection-50016] davmail  - < Accept: text/xml
2009-11-11 13:08:47,267 DEBUG [CaldavConnection-50016] davmail  - < Accept-Language: en-us,en;q=0.5
2009-11-11 13:08:47,269 DEBUG [CaldavConnection-50016] davmail  - < Accept-Encoding: gzip,deflate
2009-11-11 13:08:47,271 DEBUG [CaldavConnection-50016] davmail  - < Accept-Charset: utf-8,*;q=0.1
2009-11-11 13:08:47,272 DEBUG [CaldavConnection-50016] davmail  - < Keep-Alive: 300
2009-11-11 13:08:47,273 DEBUG [CaldavConnection-50016] davmail  - < Connection: keep-alive
2009-11-11 13:08:47,274 DEBUG [CaldavConnection-50016] davmail  - < Content-Length: 286
2009-11-11 13:08:47,276 DEBUG [CaldavConnection-50016] davmail  - < Content-Type: text/xml; charset=utf-8
2009-11-11 13:08:47,278 DEBUG [CaldavConnection-50016] davmail  - < Depth: 1
2009-11-11 13:08:47,279 DEBUG [CaldavConnection-50016] davmail  - < Authorization: ********
2009-11-11 13:08:47,281 DEBUG [CaldavConnection-50016] davmail  - < Pragma: no-cache
2009-11-11 13:08:47,302 DEBUG [CaldavConnection-50016] davmail  - < Cache-Control: no-cache
2009-11-11 13:08:47,314 DEBUG [CaldavConnection-50016] davmail  - < 
2009-11-11 13:08:47,316 DEBUG [CaldavConnection-50016] davmail.caldav.CaldavConnection  - < <?xml version="1.0" encoding="UTF-8"?>
<calendar-multiget xmlns:D="DAV:" xmlns="urn:ietf:params:xml:ns:caldav">
  <D:prop>
    <D:getetag/>
    <calendar-data/>
  </D:prop>
  <D:href>/users/terry@amicas.com/calendar/94716a45-b830-435e-a56e-7c3ef787a70d.ics</D:href>
</calendar-multiget>
2009-11-11 13:08:47,316 DEBUG [CaldavConnection-50016] davmail  - Set socket timeout to 300 seconds
2009-11-11 13:08:47,317 DEBUG [CaldavConnection-50016] davmail  - > HTTP/1.1 207 Multi-Status
2009-11-11 13:08:47,318 DEBUG [CaldavConnection-50016] davmail  - > Server: DavMail Gateway 3.5.0-745
2009-11-11 13:08:47,318 DEBUG [CaldavConnection-50016] davmail  - > DAV: 1, calendar-access, calendar-schedule, calendarserver-private-events
2009-11-11 13:08:47,318 DEBUG [CaldavConnection-50016] davmail  - > Date: Wed, 11 Nov 2009 13:08:47 -0500
2009-11-11 13:08:47,318 DEBUG [CaldavConnection-50016] davmail  - > Expires: Wed, 11 Nov 2009 13:08:47 -0500
2009-11-11 13:08:47,319 DEBUG [CaldavConnection-50016] davmail  - > Cache-Control: private, max-age=0
2009-11-11 13:08:47,319 DEBUG [CaldavConnection-50016] davmail  - > Transfer-Encoding: chunked
2009-11-11 13:08:47,319 DEBUG [CaldavConnection-50016] davmail  - > Content-Type: text/xml;charset=UTF-8
2009-11-11 13:08:47,319 DEBUG [CaldavConnection-50016] davmail  - > Connection: keep-alive
2009-11-11 13:08:47,319 DEBUG [CaldavConnection-50016] davmail  - > 
2009-11-11 13:08:47,320 DEBUG [CaldavConnection-50016] davmail  - Report event 1/1
2009-11-11 13:08:47,540 DEBUG [CaldavConnection-50016] davmail.exchange.ExchangeSession  - Get event: https://owa.amicas.com/exchange/terry@amicas.com/Calendar/94716a45-b830-435e-a56e-7c3ef787a70d.ics
2009-11-11 13:08:47,700 DEBUG [CaldavConnection-50016] davmail  - > 58a
2009-11-11 13:08:47,700 DEBUG [CaldavConnection-50016] davmail.caldav.CaldavConnection  - > <?xml version="1.0" encoding="UTF-8"?><D:multistatus xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav"><D:response><D:href>/users/terry@amicas.com/calendar/94716a45-b830-435e-a56e-7c3ef787a70d.ics</D:href><D:propstat><D:prop><C:calendar-data xmlns:C="urn:ietf:params:xml:ns:caldav" C:content-type="text/calendar" C:version="2.0">BEGIN:VCALENDAR
PRODID:-//Mozilla.org/NONSGML Mozilla Calendar V1.1//EN
VERSION:2.0
BEGIN:VTIMEZONE
TZID:America/New_York
X-LIC-LOCATION:America/New_York
BEGIN:DAYLIGHT
TZOFFSETFROM:-0500
TZOFFSETTO:-0400
TZNAME:EDT
DTSTART:19700308T020000
RRULE:FREQ=YEARLY;BYDAY=2SU;BYMONTH=3
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:-0400
TZOFFSETTO:-0500
TZNAME:EST
DTSTART:19701101T020000
RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=11
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
CREATED:20091111T180728Z
LAST-MODIFIED:20091111T180846Z
DTSTAMP:20091111T180846Z
UID:94716a45-b830-435e-a56e-7c3ef787a70d
SUMMARY:New Event
DTSTART;TZID=America/New_York:20091111T161500
DTEND;TZID=America/New_York:20091111T171500
BEGIN:VALARM
ACTION:AUDIO
ATTACH;VALUE=URI:Basso
TRIGGER;VALUE=DURATION:-PT1H
DESCRIPTION:Default Mozilla Description
END:VALARM
X-MICROSOFT-CDO-BUSYSTATUS:BUSY
END:VEVENT
END:VCALENDAR
</C:calendar-data><D:getetag>"5286d680d732434ab1f57ec071ca5bc600000c34d0ee"</D:getetag></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response></D:multistatus>
2009-11-11 13:08:47,701 DEBUG [CaldavConnection-50016] davmail  - > 
2009-11-11 13:08:47,701 DEBUG [CaldavConnection-50016] davmail  - > 0
2009-11-11 13:08:47,701 DEBUG [CaldavConnection-50016] davmail  - > 

DavMail log snippet showing event saved following first edit:

2009-11-11 13:10:15,214 DEBUG [CaldavConnection-50016] davmail  - < PUT /users/terry@amicas.com/calendar/94716a45-b830-435e-a56e-7c3ef787a70d.ics HTTP/1.1
2009-11-11 13:10:15,222 DEBUG [CaldavConnection-50016] davmail  - < Host: localhost:1080
2009-11-11 13:10:15,223 DEBUG [CaldavConnection-50016] davmail  - < User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.6pre) Gecko/20091110 Calendar/1.0pre
2009-11-11 13:10:15,224 DEBUG [CaldavConnection-50016] davmail  - < Accept: text/xml
2009-11-11 13:10:15,236 DEBUG [CaldavConnection-50016] davmail  - < Accept-Language: en-us,en;q=0.5
2009-11-11 13:10:15,238 DEBUG [CaldavConnection-50016] davmail  - < Accept-Encoding: gzip,deflate
2009-11-11 13:10:15,241 DEBUG [CaldavConnection-50016] davmail  - < Accept-Charset: utf-8,*;q=0.1
2009-11-11 13:10:15,245 DEBUG [CaldavConnection-50016] davmail  - < Keep-Alive: 300
2009-11-11 13:10:15,264 DEBUG [CaldavConnection-50016] davmail  - < Connection: keep-alive
2009-11-11 13:10:15,268 DEBUG [CaldavConnection-50016] davmail  - < Content-Length: 795
2009-11-11 13:10:15,269 DEBUG [CaldavConnection-50016] davmail  - < Content-Type: text/calendar; charset=utf-8
2009-11-11 13:10:15,271 DEBUG [CaldavConnection-50016] davmail  - < If-Match: "5286d680d732434ab1f57ec071ca5bc600000c34d0ee"
2009-11-11 13:10:15,281 DEBUG [CaldavConnection-50016] davmail  - < Authorization: ********
2009-11-11 13:10:15,288 DEBUG [CaldavConnection-50016] davmail  - < Pragma: no-cache
2009-11-11 13:10:15,290 DEBUG [CaldavConnection-50016] davmail  - < Cache-Control: no-cache
2009-11-11 13:10:15,291 DEBUG [CaldavConnection-50016] davmail  - < 
2009-11-11 13:10:15,293 DEBUG [CaldavConnection-50016] davmail.caldav.CaldavConnection  - < BEGIN:VCALENDAR
PRODID:-//Mozilla.org/NONSGML Mozilla Calendar V1.1//EN
VERSION:2.0
BEGIN:VTIMEZONE
TZID:America/New_York
X-LIC-LOCATION:America/New_York
BEGIN:DAYLIGHT
TZOFFSETFROM:-0500
TZOFFSETTO:-0400
TZNAME:EDT
DTSTART:19700308T020000
RRULE:FREQ=YEARLY;BYDAY=2SU;BYMONTH=3
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:-0400
TZOFFSETTO:-0500
TZNAME:EST
DTSTART:19701101T020000
RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=11
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
CREATED:20091111T180728Z
LAST-MODIFIED:20091111T181015Z
DTSTAMP:20091111T181015Z
UID:94716a45-b830-435e-a56e-7c3ef787a70d
SUMMARY:New Event
DTSTART;TZID=America/New_York:20091111T161500
DTEND;TZID=America/New_York:20091111T171500
X-MICROSOFT-CDO-BUSYSTATUS:BUSY
X-MOZ-GENERATION:1
END:VEVENT
END:VCALENDAR

2009-11-11 13:10:15,293 DEBUG [CaldavConnection-50016] davmail  - Set socket timeout to 300 seconds
2009-11-11 13:10:15,483 DEBUG [CaldavConnection-50016] davmail.exchange.ExchangeSession  - Updated event /exchange/terry@amicas.com/Calendar/94716a45-b830-435e-a56e-7c3ef787a70d.ics
2009-11-11 13:10:15,483 DEBUG [CaldavConnection-50016] davmail  - > HTTP/1.1 200 OK
2009-11-11 13:10:15,484 DEBUG [CaldavConnection-50016] davmail  - > Server: DavMail Gateway 3.5.0-745
2009-11-11 13:10:15,484 DEBUG [CaldavConnection-50016] davmail  - > DAV: 1, calendar-access, calendar-schedule, calendarserver-private-events
2009-11-11 13:10:15,485 DEBUG [CaldavConnection-50016] davmail  - > Date: Wed, 11 Nov 2009 13:10:15 -0500
2009-11-11 13:10:15,485 DEBUG [CaldavConnection-50016] davmail  - > Expires: Wed, 11 Nov 2009 13:10:15 -0500
2009-11-11 13:10:15,485 DEBUG [CaldavConnection-50016] davmail  - > Cache-Control: private, max-age=0
2009-11-11 13:10:15,485 DEBUG [CaldavConnection-50016] davmail  - > ETag: "5286d680d732434ab1f57ec071ca5bc600000c34d2d5"
2009-11-11 13:10:15,485 DEBUG [CaldavConnection-50016] davmail  - > Connection: keep-alive
2009-11-11 13:10:15,486 DEBUG [CaldavConnection-50016] davmail  - > Content-Length: 0
2009-11-11 13:10:15,486 DEBUG [CaldavConnection-50016] davmail  - > 
2009-11-11 13:10:15,509 DEBUG [CaldavConnection-50016] davmail  - < REPORT /users/terry@amicas.com/calendar/ HTTP/1.1
2009-11-11 13:10:15,520 DEBUG [CaldavConnection-50016] davmail  - < Host: localhost:1080
2009-11-11 13:10:15,522 DEBUG [CaldavConnection-50016] davmail  - < User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.1.6pre) Gecko/20091110 Calendar/1.0pre
2009-11-11 13:10:15,523 DEBUG [CaldavConnection-50016] davmail  - < Accept: text/xml
2009-11-11 13:10:15,534 DEBUG [CaldavConnection-50016] davmail  - < Accept-Language: en-us,en;q=0.5
2009-11-11 13:10:15,546 DEBUG [CaldavConnection-50016] davmail  - < Accept-Encoding: gzip,deflate
2009-11-11 13:10:15,548 DEBUG [CaldavConnection-50016] davmail  - < Accept-Charset: utf-8,*;q=0.1
2009-11-11 13:10:15,549 DEBUG [CaldavConnection-50016] davmail  - < Keep-Alive: 300
2009-11-11 13:10:15,559 DEBUG [CaldavConnection-50016] davmail  - < Connection: keep-alive
2009-11-11 13:10:15,562 DEBUG [CaldavConnection-50016] davmail  - < Content-Length: 286
2009-11-11 13:10:15,563 DEBUG [CaldavConnection-50016] davmail  - < Content-Type: text/xml; charset=utf-8
2009-11-11 13:10:15,573 DEBUG [CaldavConnection-50016] davmail  - < Depth: 1
2009-11-11 13:10:15,585 DEBUG [CaldavConnection-50016] davmail  - < Authorization: ********
2009-11-11 13:10:15,596 DEBUG [CaldavConnection-50016] davmail  - < Pragma: no-cache
2009-11-11 13:10:15,599 DEBUG [CaldavConnection-50016] davmail  - < Cache-Control: no-cache
2009-11-11 13:10:15,600 DEBUG [CaldavConnection-50016] davmail  - < 
2009-11-11 13:10:15,602 DEBUG [CaldavConnection-50016] davmail.caldav.CaldavConnection  - < <?xml version="1.0" encoding="UTF-8"?>
<calendar-multiget xmlns:D="DAV:" xmlns="urn:ietf:params:xml:ns:caldav">
  <D:prop>
    <D:getetag/>
    <calendar-data/>
  </D:prop>
  <D:href>/users/terry@amicas.com/calendar/94716a45-b830-435e-a56e-7c3ef787a70d.ics</D:href>
</calendar-multiget>
2009-11-11 13:10:15,602 DEBUG [CaldavConnection-50016] davmail  - Set socket timeout to 300 seconds
2009-11-11 13:10:15,604 DEBUG [CaldavConnection-50016] davmail  - > HTTP/1.1 207 Multi-Status
2009-11-11 13:10:15,605 DEBUG [CaldavConnection-50016] davmail  - > Server: DavMail Gateway 3.5.0-745
2009-11-11 13:10:15,605 DEBUG [CaldavConnection-50016] davmail  - > DAV: 1, calendar-access, calendar-schedule, calendarserver-private-events
2009-11-11 13:10:15,605 DEBUG [CaldavConnection-50016] davmail  - > Date: Wed, 11 Nov 2009 13:10:15 -0500
2009-11-11 13:10:15,605 DEBUG [CaldavConnection-50016] davmail  - > Expires: Wed, 11 Nov 2009 13:10:15 -0500
2009-11-11 13:10:15,606 DEBUG [CaldavConnection-50016] davmail  - > Cache-Control: private, max-age=0
2009-11-11 13:10:15,606 DEBUG [CaldavConnection-50016] davmail  - > Transfer-Encoding: chunked
2009-11-11 13:10:15,606 DEBUG [CaldavConnection-50016] davmail  - > Content-Type: text/xml;charset=UTF-8
2009-11-11 13:10:15,606 DEBUG [CaldavConnection-50016] davmail  - > Connection: keep-alive
2009-11-11 13:10:15,606 DEBUG [CaldavConnection-50016] davmail  - > 
2009-11-11 13:10:15,607 DEBUG [CaldavConnection-50016] davmail  - Report event 1/1
2009-11-11 13:10:15,826 DEBUG [CaldavConnection-50016] davmail.exchange.ExchangeSession  - Get event: https://owa.amicas.com/exchange/terry@amicas.com/Calendar/94716a45-b830-435e-a56e-7c3ef787a70d.ics
2009-11-11 13:10:16,009 DEBUG [CaldavConnection-50016] davmail  - > 517
2009-11-11 13:10:16,034 DEBUG [CaldavConnection-50016] davmail.caldav.CaldavConnection  - > <?xml version="1.0" encoding="UTF-8"?><D:multistatus xmlns:D="DAV:" xmlns:C="urn:ietf:params:xml:ns:caldav"><D:response><D:href>/users/terry@amicas.com/calendar/94716a45-b830-435e-a56e-7c3ef787a70d.ics</D:href><D:propstat><D:prop><C:calendar-data xmlns:C="urn:ietf:params:xml:ns:caldav" C:content-type="text/calendar" C:version="2.0">BEGIN:VCALENDAR
PRODID:-//Mozilla.org/NONSGML Mozilla Calendar V1.1//EN
VERSION:2.0
BEGIN:VTIMEZONE
TZID:America/New_York
X-LIC-LOCATION:America/New_York
BEGIN:DAYLIGHT
TZOFFSETFROM:-0500
TZOFFSETTO:-0400
TZNAME:EDT
DTSTART:19700308T020000
RRULE:FREQ=YEARLY;BYDAY=2SU;BYMONTH=3
END:DAYLIGHT
BEGIN:STANDARD
TZOFFSETFROM:-0400
TZOFFSETTO:-0500
TZNAME:EST
DTSTART:19701101T020000
RRULE:FREQ=YEARLY;BYDAY=1SU;BYMONTH=11
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
CREATED:20091111T180728Z
LAST-MODIFIED:20091111T181015Z
DTSTAMP:20091111T181015Z
UID:94716a45-b830-435e-a56e-7c3ef787a70d
SUMMARY:New Event
DTSTART;TZID=America/New_York:20091111T161500
DTEND;TZID=America/New_York:20091111T171500
X-MICROSOFT-CDO-BUSYSTATUS:BUSY
X-MOZ-GENERATION:1
END:VEVENT
END:VCALENDAR
</C:calendar-data><D:getetag>"5286d680d732434ab1f57ec071ca5bc600000c34d2d5"</D:getetag></D:prop><D:status>HTTP/1.1 200 OK</D:status></D:propstat></D:response></D:multistatus>
2009-11-11 13:10:16,034 DEBUG [CaldavConnection-50016] davmail  - > 
2009-11-11 13:10:16,035 DEBUG [CaldavConnection-50016] davmail  - > 0
2009-11-11 13:10:16,035 DEBUG [CaldavConnection-50016] davmail  - > 

Will attach screenshots showing event display and edit dialogs.
Seems like your server messes up the event.

Event send from Lightning to your server after creation:
 > BEGIN:VALARM
 > ACTION:DISPLAY
 > TRIGGER;VALUE=DURATION:-PT1H
 > DESCRIPTION:Default Mozilla Description
 > END:VALARM

Event send from server back to Lightning for display:
> BEGIN:VALARM
> ACTION:AUDIO
> ATTACH;VALUE=URI:Basso
> TRIGGER;VALUE=DURATION:-PT1H
> DESCRIPTION:Default Mozilla Description
> END:VALARM

See the changes? I think Lightning supports only popup reminders (ACTION:DISPLAY) and email reminders (ACTION:EMAIL) and therefore fails to display the correct icon and the correct information in the event dialog for ACTION:AUDIO. Maybe you see a related error message in the Error Console.
I agree with Stefan's comments. Further investigation showed that DavMail was receiving the alarm properly and faithfully transmitting the alarm to Exchange. Exchange was also returning the alarm as set by Sunbird. However, DavMail has a hack that is translating the alarms received from Exchange substituting the AUDIO type alarm for the DISPLAY type alarm before passing the appointment ot Sunbird. I will take this up with the DavMail folks. It is not a Sunbird problem.

Thanks for taking the time to look at this and my apologies for filing a "worksforme" bug!
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
Resolution: WORKSFORME → INVALID
Well, you are right, DavMail changes VALARM to ACTION:AUDIO and thus you may decide this is not a Lightning/Sunbird issue. 

However, this is still a regression compared to Lightning 0.9.7 with Thunderbird 2 where it's working fine.

The VALARM change is designed for iCal VALARM compatibility. There are many changes in DavMail to convert Exchange generated ICS body to suit both Lightning and iCal, this is the reason why if you retrieve an event just after a PUT you don't always get exactly the same content.

About the VALARM issue, what should DavMail generate in VALARM to make latest Sunbird happy ?

In a perfect world, the fix would also synchronize the snooze/dismiss information between Exchange and Sunbird :-)
(In reply to comment #8)
> However, this is still a regression compared to Lightning 0.9.7 with
> Thunderbird 2 where it's working fine.

This not an official version of Lightning released by the Mozilla Calendar Project but some third party (Inverse)!
Sure, but Thunderbird 2.0.0.23 (20090812) with Lightning 0.9 (build 2008091719) also supports VALARMs with ACTION:AUDIO

I am sure we will find a way to make this work :-)
0.9 did not support AUDIO type alarms. We only had support for single display alarms back then.
Right, but AUDIO type alarms were handled as simple DISPLAY alarms, now in nightly build they are completely ignored.

Don't you think that the behaviour should be:
- if action is AUDIO, check ATTACH URI
  - if URI is valid, play sound
  - else play default sound
- else if action is DISPLAY, play default sound
I see, it seems we just ignored the alarm action and always showed a DISPLAY alarm, which gave AUDIO alarms the sense that they might have worked. Really supporting AUDIO alarms like you suggest is not that easy. Downloading the URI could be a security issue. I could imagine in a first step that we treat AUDIO alarms as display alarms explicitly (ignoring the URI though), but this should be taken care of in a different bug. Please search bugzilla, I believe there is already a bug for audio alarms.
Thanks for your answer, comment with a quick fix added to:
https://bugzilla.mozilla.org/show_bug.cgi?id=135558
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: