browser_attendeesDialog.js failing on beta
Categories
(Calendar :: Dialogs, defect)
Tracking
(thunderbird78 fixed)
Tracking | Status | |
---|---|---|
thunderbird78 | --- | fixed |
People
(Reporter: darktrojan, Assigned: darktrojan)
References
Details
Attachments
(1 file, 1 obsolete file)
3.77 KB,
patch
|
pmorris
:
review+
pmorris
:
approval-calendar-beta+
|
Details | Diff | Splinter Review |
It looks like I've created something which works on ICAL.js but not libical. Now to figure out what.
Assignee | ||
Comment 1•4 years ago
|
||
The test is trying to do things like cal.createDuration("P-2D")
which libical can't handle. I think somewhere in the distant past I've discovered that before.
Comment 2•4 years ago
|
||
Why is it beta specific?
Comment 3•4 years ago
|
||
Comment 4•4 years ago
|
||
(In reply to Geoff Lankow (:darktrojan) from comment #1)
The test is trying to do things like
cal.createDuration("P-2D")
which libical can't handle. I think somewhere in the distant past I've discovered that before.
Is that valid at all? Should this be "-P2D"? According to https://tools.ietf.org/html/rfc5545#section-3.3.6 the duration format is:
dur-value = (["+"] / "-") "P" (dur-date / dur-time / dur-week)
dur-date = dur-day [dur-time]
dur-day = 1*DIGIT "D"
For example integer is defined as https://tools.ietf.org/html/rfc5545#section-3.3.8:
integer = (["+"] / "-") 1*DIGIT
indicating to me that "-2" in "P-2D" is not valid.
Comment 5•4 years ago
|
||
(In reply to Magnus Melin [:mkmelin] from comment #2)
Why is it beta specific?
The experimental icaljs library is enabled only on Trunk be default. All other branches use the matured libical library by default.
Updated•4 years ago
|
Assignee | ||
Comment 6•4 years ago
|
||
You're probably right about it being invalid. It scarcely matters since it's not the point of the test, but since I'm now not rushing for a solution I've come up with a better one.
Assignee | ||
Comment 7•4 years ago
|
||
Let's do this instead. The last patch was stupid.
Comment 8•4 years ago
|
||
Assignee | ||
Updated•4 years ago
|
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/4da3c65dedbf
Fix browser_attendeesDialog.js failing with libical. r=pmorris DONTBUILD
Assignee | ||
Updated•4 years ago
|
Comment 10•4 years ago
|
||
bugherder uplift |
Thunderbird 78.0b1:
https://hg.mozilla.org/releases/comm-beta/rev/702239e687b7
Updated•4 years ago
|
Updated•4 years ago
|
Description
•