Closed
Bug 436272
Opened 16 years ago
Closed 13 years ago
Task with '% complete' greater than 100% -> '% complete' box is empty
Categories
(Calendar :: Tasks, defect)
Calendar
Tasks
Tracking
(Not tracked)
RESOLVED
FIXED
1.0b3
People
(Reporter: andreas.treumann, Assigned: mozilla)
Details
Attachments
(1 file)
1006 bytes,
patch
|
Fallen
:
review+
|
Details | Diff | Splinter Review |
STEPS TO REPRODUCE: =================== - create a new task - select the 'in progress' status - insert a '% complete' value with more than 100% - save and close the task - open the edit dialog of this task and check '% complete' RESULT: ======= - the box is empty EXPECTED RESULT: ================ - the value should be automatically set to 100% REPRODUCIBLE: ============= - always
Comment 1•16 years ago
|
||
This seems to be "just" an issue with the event dialog. If I create a task, set the '% complete' value to 100% or greater and save it the value is already limited to 100%. This can be verified by looking at the task tooltip or by exporting the task to the iCalendar format. Happens only if the status is set to 'In Process' and '% complete' >= 100% in the dialog. If the status is set to 'Completed' or the '% complete' is set to 100% via task list context menu it works.
Assignee | ||
Comment 2•13 years ago
|
||
Still valid with recent Lightning 1.1a1pre nightly. First a value greater than 100 is stored as 100%. When opening the event dialog, it seems that an if-else-block in function updateToDoStatus [1] is responsible for the described behaviour: The status is not "completed"; the percent complete value is read and checked, and since it is not unequal to 100, it is told to be set to "". Why is the dialog told to do this? [1] http://mxr.mozilla.org/comm-central/source/calendar/base/content/dialogs/calendar-event-dialog.js#2216
Comment 3•13 years ago
|
||
This code goes way back to mozilla1.8, feel free to change it any way you like to fix this bug.
Assignee | ||
Comment 4•13 years ago
|
||
Maybe this is all we need then? Show the percent complete value we have, no need to hide 100%...
Assignee: nobody → mozrob
Attachment #515518 -
Flags: review?(philipp)
Updated•13 years ago
|
Status: NEW → ASSIGNED
Comment 5•13 years ago
|
||
Comment on attachment 515518 [details] [diff] [review] patch_v1 Sounds reasonable to me, r=philipp
Attachment #515518 -
Flags: review?(philipp) → review+
Comment 6•13 years ago
|
||
Pushed to comm-central <http://hg.mozilla.org/comm-central/rev/e066581ac82d> -> FIXED
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → Trunk
Comment 7•13 years ago
|
||
Backported to comm-1.9.2 <http://hg.mozilla.org/releases/comm-1.9.2/rev/d0217f549619>
Updated•13 years ago
|
Target Milestone: Trunk → 1.0b3
You need to log in
before you can comment on or make changes to this bug.
Description
•