Closed
Bug 299762
Opened 19 years ago
Closed 19 years ago
date attributes in calIICSService should be null when not valid
Categories
(Calendar :: Internal Components, defect)
Calendar
Internal Components
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mvl, Assigned: mvl)
Details
Attachments
(1 file, 1 obsolete file)
|
3.48 KB,
patch
|
shaver
:
first-review+
|
Details | Diff | Splinter Review |
The date attributes in calIICSService return an invalid calIDateTime is the date isn't set. It should return null.
| Assignee | ||
Comment 1•19 years ago
|
||
patch returns nsnull on invalid dates. (and moves some addrefs, to not crash)
Comment 2•19 years ago
|
||
Comment on attachment 188358 [details] [diff] [review] patch How about just setting *dtp to null and returning early if there's no prop? Then you can outdent the main part of the method.
| Assignee | ||
Comment 3•19 years ago
|
||
Ok, this patch does that (diff -w for readability)
Attachment #188358 -
Attachment is obsolete: true
Attachment #188367 -
Flags: first-review?(shaver)
Comment 4•19 years ago
|
||
Comment on attachment 188367 [details] [diff] [review] patch v2 (-w) Gorgeous. r=shaver
Attachment #188367 -
Flags: first-review?(shaver) → first-review+
Updated•19 years ago
|
Attachment #188358 -
Flags: first-review?(shaver)
| Assignee | ||
Comment 5•19 years ago
|
||
patch was checked in some time ago
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•