Closed
Bug 305722
Opened 19 years ago
Closed 17 years ago
Invalid "To" date in New Task window when switching Item type from Task to Event
Categories
(Calendar :: General, defect)
Calendar
General
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: marckost, Assigned: jminta)
References
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.8b4) Gecko/20050818 Firefox/1.0+ Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20050823 Mozilla Sunbird/0.2+ 'New task' window has an option to change the Item type from Task to Event. When I choose to do so and then try to change the 'From' date, the 'To' date shows "Invalid date" for both date and time. After that I can't do anything with the window and it has to be closed by clicking 'Cancel' Reproducible: Always Steps to Reproduce: 1. Choose New task option 2. Change the Item type from Task to Event 3. Try to change the 'From' date Actual Results: 'To' date shows "Invalid date" Expected Results: The 'To' date should show the 'From' date or the 'From' date + the given Task duration time.
Reporter | ||
Updated•19 years ago
|
Version: unspecified → Trunk
Reporter | ||
Comment 1•19 years ago
|
||
In addition, I can see following errors in the JavaScript Console: Error: hourItem has no properties Source File: chrome://calendar/content/datetimepickers/datetimepickers.xml Line: 853 Error: [Exception... "Cannot modify properties of a WrappedNative" nsresult: "0x80570034 (NS_ERROR_XPC_CANT_MODIFY_PROP_ON_WN)" location: "JS frame :: chrome://calendar/content/eventDialog.js :: onOKCommand :: line 484" data: no] Source File: chrome://calendar/content/eventDialog.js Line: 484
Assignee | ||
Comment 2•19 years ago
|
||
(In reply to comment #1) > In addition, I can see following errors in the JavaScript Console: > > Error: hourItem has no properties > Source File: chrome://calendar/content/datetimepickers/datetimepickers.xml > Line: 853 This seems to be caused by the fact that gDurationMSec isn't set. > Error: [Exception... "Cannot modify properties of a WrappedNative" nsresult: > "0x80570034 (NS_ERROR_XPC_CANT_MODIFY_PROP_ON_WN)" location: "JS frame :: > chrome://calendar/content/eventDialog.js :: onOKCommand :: line 484" data: no] > Source File: chrome://calendar/content/eventDialog.js > Line: 484 My guess here is that something is going wrong with the QI. Status: New
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows XP → All
Hardware: PC → All
Comment 3•18 years ago
|
||
Since I can't imagine any reasonable use cases for this feature, I would suggest getting rid of it. Any objections?
Assignee | ||
Comment 4•18 years ago
|
||
(In reply to comment #3) > Since I can't imagine any reasonable use cases for this feature, I would > suggest getting rid of it. Any objections? > We have had several requests for it and I can see a couple possible cases: 1.) Accidentally clicking the wrong 'New' button (Choosing New Event instead of New Taske, or vice versa). In fact, having this option would probably allow us to consolidate those options, making our menus simpler. 2.) Events that lead to tasks. For example, if I'm taking the notes for our weekly meeting, when the meeting finishes, I have a task (post the notes). Rather than writing a completely new task, I can simply flip the meeting to a task and my calendar is correct with a couple of clicks. See also bug 277731, which generally outlines (1) and has 2 additional duplicates filed. Note that those bugs also reference the ability to do this via drag-n-drop. Were you talking about removing the menuitem or the entire backend possibility of this?
Comment 5•18 years ago
|
||
Reassigning all automatically assigned bugs from Mostafa to nobody@m.o Bugspam filter: TorontoMostafaMove
Assignee: mostafah → nobody
Assignee | ||
Updated•18 years ago
|
Assignee: nobody → jminta
Assignee | ||
Updated•18 years ago
|
Status: NEW → ASSIGNED
Comment 7•17 years ago
|
||
WFM with Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.4pre) Gecko/20070418 Calendar/0.5pre.
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•