Mozilla sends invalid calendar sometime: event can contain both DTEND and DUR properties simultaneously.
Categories
(Calendar :: General, defect)
Tracking
(Not tracked)
People
(Reporter: irina.arkhipets, Assigned: pmorris)
References
Details
Attachments
(2 files, 5 obsolete files)
1.46 KB,
text/plain
|
Details | |
6.21 KB,
patch
|
pmorris
:
review+
|
Details | Diff | Splinter Review |
Reporter | ||
Comment 1•15 years ago
|
||
Comment 2•15 years ago
|
||
Reporter | ||
Comment 3•15 years ago
|
||
Comment 4•7 years ago
|
||
Comment 5•7 years ago
|
||
Comment 6•7 years ago
|
||
Comment 7•7 years ago
|
||
Comment 8•7 years ago
|
||
Comment 9•7 years ago
|
||
Comment 11•7 years ago
|
||
Comment 12•7 years ago
|
||
Comment 13•6 years ago
|
||
Comment 16•6 years ago
|
||
Paul, could you drive this over the finishing line?
Assignee | ||
Comment 17•6 years ago
|
||
Here's a rebased version of the patch that applies to current trunk. I edited the comments slightly.
Philipp, Happy to write tests for this. Can you say more about what you had in mind there?
It looks like the triggering use case is creating a recurring event and then trying to change one occurrence of it. So I assume that that's what we should test. This might overlap/converge with the CALDAV refactoring (bug 1546606) and its xpcshell test?
Comment 18•6 years ago
|
||
I'd recommend to have tests that cover all branches of the if() that was changed. You should also check the callers to see in which cases these are being passed in, that might inspire for some more tests. I'm guessing there would be a few for unproxied events, proxied events, etc.
Comment 19•6 years ago
|
||
Hi. It sounds like the fix is ready. Will it be released? Thanks.
Assignee | ||
Comment 20•6 years ago
|
||
Adds a basic xpcshell test that covers the failure case reported in this bug. There may be other things to test as part of this, but I wanted to go ahead and put this up for review.
Comment 21•6 years ago
|
||
Comment 22•6 years ago
|
||
Assignee | ||
Comment 23•6 years ago
|
||
Thanks for the additional details. This patch includes those tests.
Comment 24•6 years ago
|
||
Assignee | ||
Comment 25•6 years ago
|
||
Thanks for the review, should have pinged you about it sooner. Glad to get this one closed out.
This patch just rebases on the current tip. Here's a try run for good measure.
https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&revision=7a93bbb2d31af1810e20aa991c733c4385859cf2
Assignee | ||
Comment 26•6 years ago
|
||
The try run is looking fine, so I'm going ahead and setting the checkin flag.
Comment 27•6 years ago
|
||
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/3e7f62e8f741
Make sure to not add properties without values to icalcomponents of events and todos. r=Fallen
Updated•6 years ago
|
Description
•