Closed Bug 482108 Opened 15 years ago Closed 15 years ago

"Invalid alarm for item" errors when reading alarms from older releases

Categories

(Calendar :: Alarms, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ssitter, Assigned: Fallen)

Details

(Keywords: regression)

Attachments

(2 files)

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b4pre) Gecko/20090307 Calendar/1.0pre

When opening or importing an ics file that contains events/tasks created with Sunbird 0.5 many errors occur like:

[JavaScript Error: "Invalid alarm for item: df402b62-471d-4936-9467-8128a772f700 (BEGIN:VALARM
TRIGGER;VALUE=DURATION:-PT15M
X-MOZ-LASTACK:20090224T155710Z
DESCRIPTION:Mozilla Alarm: dismissed alarm before
ACTION:DISPLAY
END:VALARM
)"]

Steps to Reproduce:
1. Start with clean profile
2. Import the attached sample file
3. Check Tools > Error Console

Actual Results:
Error message mentioned above is logged for 8 different events/tasks.

Expected Results:
No errors.
Works fine in Sunbird 0.9 -> Regression.
Flags: wanted-calendar1.0?
Flags: blocking-calendar1.0?
Keywords: regression
Assignee: nobody → philipp
Flags: wanted-calendar1.0?
Flags: blocking-calendar1.0?
Flags: blocking-calendar1.0+
Attached patch Fix - v1Splinter Review
Attachment #369809 - Flags: review?(dbo.moz)
Status: NEW → ASSIGNED
OS: Windows XP → All
Hardware: x86 → All
Attachment #369809 - Flags: review?(dbo.moz) → review-
Comment on attachment 369809 [details] [diff] [review]
Fix - v1

r- for this one, daniel reviewed the checked in patch over my shoulder.
Pushed to comm-central <http://hg.mozilla.org/comm-central/rev/054adad6539d>

-> FIXED
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Target Milestone: --- → 1.0
Target Milestone: 1.0 → 1.0b1
You need to log in before you can comment on or make changes to this bug.