Closed
Bug 343238
Opened 19 years ago
Closed 19 years ago
JavaScript error for zero length tasks
Categories
(Calendar :: Internal Components, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: thomas.benisch, Assigned: thomas.benisch)
References
Details
Attachments
(1 file)
|
2.39 KB,
patch
|
jminta
:
first-review+
|
Details | Diff | Splinter Review |
For zero length tasks (identical date and due date)
the month view creates a JavaScript error, if the
date of the task is outside the month view range.
Steps to Reproduce:
1. create a task with identical date and due date,
e.g. 03-May-2006, 0:00
2. select month view, navigate to June 2006
Actual Results:
************************************************************
* Call to xpconnect wrapped JSObject produced this error: *
[Exception... "'[JavaScript Error: "box has no properties" {file: "chrome://cale
ndar/content/calendar-month-view.xml" line: 1286}]' when calling method: [calIOp
erationListener::onGetResult]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_E
RROR_WITH_DETAILS)" location: "JS frame :: file:///D:/Development/pim/wntmsci10
/misc/mozilla/dist/xpi-stage/lightning/components/calCompositeCalendar.js :: ano
nymous :: line 467" data: yes]
************************************************************
| Assignee | ||
Comment 2•19 years ago
|
||
same problem in calendar-multiday-view.xml
| Assignee | ||
Comment 3•19 years ago
|
||
fix for calendar-month-view.xml and calendar-multiday-view.xml
Attachment #227680 -
Flags: first-review?(jminta)
Comment 4•19 years ago
|
||
*** Bug 342185 has been marked as a duplicate of this bug. ***
Comment 5•19 years ago
|
||
(In reply to comment #4)
> *** Bug 342185 has been marked as a duplicate of this bug. ***
I resolved it this way because Thomas already attached a patch in the new bug instead of the original bug.
Comment 6•19 years ago
|
||
Comment on attachment 227680 [details] [diff] [review]
patch v1
r=jminta. thanks for the patch
Attachment #227680 -
Flags: first-review?(jminta) → first-review+
Comment 7•19 years ago
|
||
patch checked in.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Comment 8•19 years ago
|
||
Verified with Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1) Gecko/20060705 Sunbird/0.3a2+
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•