Ticket #4995 (new defect)
Web-Admin error with Trac milestones
| Reported by: | Paresh.Solanki@… | Owned by: | cmlenz |
|---|---|---|---|
| Priority: | high | Milestone: | not applicable |
| Component: | admin/web | Version: | 0.10 |
| Severity: | minor | Keywords: | |
| Cc: |
Description (last modified by cboos) (diff)
The 'completed' flag is not read correctly when managing milestones through the Web Admin module.
To replicate this, select a milestone through the roadmap and edit it so that it is flagged as completed. The date and time are recorded at this point.
If you go back to edit from this view, then the milestone is still flagged as completed.
Now select the milestones from the admin menu. The first thing to note is that the completed milestone is not differentiated from the open ones in any way. Now, whenever you click on the completed milestone, the completed flag is clear.
If you happen to change something else, such as the comment, the milestone will be accidentally re-opened.
If you tick the completed box, the date and time closed are updated and will not be correct for the milestone.
So, I guess there are two related issues resulting from this:-
- some way of differentiating active and completed milestones is required, either by colour or by having a column for the completed date.
- This module needs to correctly read the completed flag and only update the date completed flag if it was clear and is being saved as completed. If it was completed and is being saved as completed, the completed date should not be updated.


