Closed
Bug 384700
Opened 18 years ago
Closed 18 years ago
RDATE/EXDATE specified timezones get lost during ICS roundtrip
Categories
(Calendar :: Internal Components, defect)
Calendar
Internal Components
Tracking
(Not tracked)
VERIFIED
FIXED
0.7
People
(Reporter: dbo, Assigned: dbo)
Details
Attachments
(2 files)
|
19.22 KB,
patch
|
cmtalbert
:
review+
|
Details | Diff | Splinter Review |
|
1.82 KB,
text/calendar
|
Details |
When specifying a TZID for RDATE/EXDATE properties, those get lost when writing ics.
| Assignee | ||
Comment 1•18 years ago
|
||
- taking bug
- fixing bug
- streamlining the bloody AddtimeZoneReference thing, adding a calIIcalProperty::valueAsDatetime attribute, which used by calRecurrenceDate
- some const correctness fixes
| Assignee | ||
Comment 2•18 years ago
|
||
| Assignee | ||
Updated•18 years ago
|
Flags: blocking-calendar0.7+
| Assignee | ||
Comment 3•18 years ago
|
||
Comment on attachment 268614 [details] [diff] [review]
fix
Since mvl doesn't have any time left, shifting review to Clint.
We should clarify if it is mandatory to preserve the TZID at all (which is handled by the patch). An alternative would be to convert RDATE/EXDATEs to UTC upon reading; writing is in UTC which IMO doesn't hurt. The only drawback is that UI (namely the recurrence dialog) should present EXDATEs in a sensible timezone, thus needs to convert.
Attachment #268614 -
Flags: review?(mvl) → review?(ctalbert)
| Assignee | ||
Comment 4•18 years ago
|
||
How to verify:
1. Subscribe to the attached ics file.
2. Modify the ics file, e.g. create a new event.
=> The ics file won't contain the VTIMEZONE for Europe/Paris anymore, thus the RDATE has a dangling TZID.
Summary: RDATE/EXDATE's TZID gets lost → RDATE/EXDATE specified timezones get lost during ICS roundtrip
Comment on attachment 268614 [details] [diff] [review]
fix
>Index: public/calIICSService.idl
>===================================================================
>+ /**
>+ * The value of the property as date/datetime value, keeping
>+ * track of the used timezone being resolvable and referenced in the
>+ * owning component.
>+ * XXX todo: or add [noscript, notxpcom] getter/setter?
>+ */
>+ attribute calIDateTime valueAsDatetime;
I don't see the need for [noscript, notxpcom] here. Please explain and/or add a follow-on bug for it.
Otherwise, looks OK.
Attachment #268614 -
Flags: review?(ctalbert) → review+
| Assignee | ||
Comment 6•18 years ago
|
||
Checked in on HEAD and MOZILLA_1_8_BRANCH.
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Target Milestone: --- → 0.7
Comment 7•18 years ago
|
||
Verified in nightly build 20070821, task is fixed.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•