Edgewall Software
Modify

Opened 17 years ago

Closed 17 years ago

#4948 closed defect (fixed)

Inversion of the Milestone completion status

Reported by: Emmanuel Blot Owned by: Christian Boos
Priority: normal Milestone: 0.11
Component: roadmap Version: devel
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

The milestone "edit" page is in trouble:

When a milestone has been marked as "completed" and the milestone details are edited, the browser shows the "Completed" checkbox as unchecked.

This means that if the user does not reselect the "completed" state of the completed Milestone and save the changes, the milestone is marked as "not completed".

It seems the trouble comes for the JQuery javascript, as the XHTML code is correct: the checkbox XHTML of the edited, completed milestone contains checked="checked", but the browser does not reflect this initial state.

Note that the state is inverted: a milestone that is not completed and selected for edition exhibits a "completed" state.

Note also that the default activation of the checkbox is inverted with the state of the completion date: when the milestone edition page is loaded, if the "completed" checkbox is flagged, the "completion date" input is disabled, and vice-versa. Selecting the "completed" checkbox twice "fixes up" the issue.

This issue occurs on common browsers (IE6, Firefox 2.0.x, …)

Attachments (0)

Change History (2)

comment:1 by Christian Boos, 17 years ago

Component: generalroadmap
Owner: changed from Jonas Borgström to Christian Boos

I've already fixed the same problem for the milestone admin panel (r4661), thought I "ported" the fix to the edit_milestone.html template as well, but apparently didn't…

comment:2 by Christian Boos, 17 years ago

Resolution: fixed
Severity: majornormal
Status: newclosed

Fixed in a similar way than r4661, in r5074.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christian Boos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christian Boos to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.