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

RESOLVED FIXED in 1.0b1

Status

RESOLVED FIXED
10 years ago
9 years ago

People

(Reporter: ssitter, Assigned: Fallen)

Tracking

({regression})

Trunk
1.0b1
regression
Bug Flags:
blocking-calendar1.0 +

Details

Attachments

(2 attachments)

(Reporter)

Description

10 years ago
Created attachment 366175 [details]
sample file from sunbird 0.5

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.
(Reporter)

Comment 1

10 years ago
Works fine in Sunbird 0.9 -> Regression.
Flags: wanted-calendar1.0?
Flags: blocking-calendar1.0?
Keywords: regression
(Assignee)

Updated

10 years ago
Assignee: nobody → philipp
Flags: wanted-calendar1.0?
Flags: blocking-calendar1.0?
Flags: blocking-calendar1.0+
(Assignee)

Comment 2

10 years ago
Created attachment 369809 [details] [diff] [review]
Fix - v1
Attachment #369809 - Flags: review?(dbo.moz)
Status: NEW → ASSIGNED
OS: Windows XP → All
Hardware: x86 → All
(Assignee)

Updated

10 years ago
Attachment #369809 - Flags: review?(dbo.moz) → review-
(Assignee)

Comment 3

10 years ago
Comment on attachment 369809 [details] [diff] [review]
Fix - v1

r- for this one, daniel reviewed the checked in patch over my shoulder.
(Assignee)

Comment 4

10 years ago
Pushed to comm-central <http://hg.mozilla.org/comm-central/rev/054adad6539d>

-> FIXED
Status: ASSIGNED → RESOLVED
Last Resolved: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → 1.0
(Assignee)

Updated

9 years ago
Target Milestone: 1.0 → 1.0b1
You need to log in before you can comment on or make changes to this bug.