Closed Bug 479597 Opened 17 years ago Closed 17 years ago

Cannot define alarm trigger upon the "end" of an event

Categories

(Calendar :: Alarms, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 479577

People

(Reporter: f.cadier, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6 (.NET CLR 3.5.30729) Build Identifier: Lightning and Sunbird/0.9 (build 2008100821) to 1.0pre (latest nightly build 20090221) Hi, when defining an alarm trigger through the dialog box, we have the possibility to define the trigger by reference to the "end" of the event and not its beginning, but these alarms never raise ! More the less, when using ics file calendar, the VALARM component doesn't inform that it has been defined upon the end of the event, and not its beginning. Reproducible: Always Steps to Reproduce: 1. Create an event 2. Open the reminder custom dialog box 3. Set up a trigger to some time before or after the event "ends" 4. Close the dialog box, and wait Actual Results: No alarm triggering
Works fine for me using Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.18pre) Gecko/20080917 Sunbird/0.9 and local storage calendar. The alarm dialog was shown at the correct time. I exported the event to the iCalendar format and it clearly shows that the alarm is related to the end date: BEGIN:VEVENT CREATED:20090221T154441Z LAST-MODIFIED:20090221T154523Z DTSTAMP:20090221T154441Z UID:5700ded1-155a-465f-a208-a8a9d2a8b3b2 SUMMARY:TEST DTSTART;TZID=Europe/Berlin:20090221T160000 DTEND;TZID=Europe/Berlin:20090221T170000 BEGIN:VALARM TRIGGER;VALUE=DURATION;RELATED=END:-PT13M DESCRIPTION:Mozilla Alarm: TEST ACTION:DISPLAY END:VALARM END:VEVENT
ok, this is my fault, it works fine in 0.9. I took 2 brand new calendars (one local, one in ics file), and both alarms raised and were present in ics file (after export for the local calendar). But, in 1.0pre, I did the same (2 brand new calendars, one local and one in ics file), and the problem occured with both. The alarms haven't raised, and VALARM component is absent of both ics file (after export for the local calendar). Here is the resulted ics (similar in both cases): BEGIN:VEVENT CREATED:20090221T175505Z LAST-MODIFIED:20090221T175522Z DTSTAMP:20090221T175522Z UID:22381fc4-0574-45fe-bc98-96685dbb5825 SUMMARY:New Event DTSTART;TZID=Europe/Paris:20090221T190000 DTEND;TZID=Europe/Paris:20090221T191500 SEQUENCE:1 X-MOZ-GENERATION:1 BEGIN:VALARM ACTION:DISPLAY TRIGGER;VALUE=DURATION:-PT10M DESCRIPTION:Default Mozilla Description END:VALARM END:VEVENT
For the issue in 1.0pre see Bug 479577.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.