Closed
Bug 343194
Opened 19 years ago
Closed 19 years ago
DnD month view: Error if event is dragged out of displayed calendar date range
Categories
(Calendar :: Calendar Frontend, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: ssitter, Assigned: jminta)
Details
Attachments
(1 file)
|
1.44 KB,
patch
|
jminta
:
first-review+
|
Details | Diff | Splinter Review |
Fall out from Bug 312736:
DnD month view: Error if event is dragged out of displayed calendar date range
Steps to Reproduce:
0. Default settings, Sunday is first day of week
1. Switch to Month view, e.g. June 2006
2. Create event at end of month view,
e.g. 2006-06-29 12:00 to 2006-06-30 12:00
3. Drag event to 2006-07-01, so that the second drop shadow would be
displayed on 2006-07-02 (but that is out of displayed calendar date range)
Actual Results:
Drag and Drop stops working. Drop shadow is displayed on last position.
JavaScript console shows:
Error: this.monthView.findBoxForDate(shadowStart) has no properties
Source File: chrome://calendar/content/calendar-month-view.xml
Line: 458
Same results when doing that steps at begin date of calendar view.
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1) Gecko/20060629
Sunbird/0.3a2+ (my own trunk build)
| Assignee | ||
Comment 1•19 years ago
|
||
Patch checks to see whether we actually get a box back from findBoxForDate.
| Assignee | ||
Comment 2•19 years ago
|
||
Comment on attachment 227699 [details] [diff] [review]
check for box
r=dmose
Attachment #227699 -
Flags: first-review?(dmose) → first-review+
| Assignee | ||
Comment 3•19 years ago
|
||
patch checked in with some merging fun.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
| Reporter | ||
Comment 4•19 years ago
|
||
Works fine with Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1) Gecko/20060721 Calendar/0.3a2+ --> VERIFIED
Status: RESOLVED → VERIFIED
Component: Internal Components → Calendar Views
QA Contact: base → views
You need to log in
before you can comment on or make changes to this bug.
Description
•