Edgewall Software
Modify

Opened 17 years ago

Closed 14 years ago

Last modified 14 years ago

#4995 closed defect (worksforme)

Web-Admin error with Trac milestones

Reported by: Paresh.Solanki@… Owned by: Christopher Lenz
Priority: high Milestone:
Component: admin/web Version: 0.10
Severity: minor Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Christian Boos)

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:-

  1. some way of differentiating active and completed milestones is required, either by colour or by having a column for the completed date.
  1. 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.

Attachments (1)

4995.patch (961 bytes ) - added by luchko@… 17 years ago.
This is the patch to fix the problem

Download all attachments as: .zip

Change History (8)

comment:1 by Christian Boos, 17 years ago

Description: modified (diff)

Sounds similar to #4948, but for the plugin. What version of the plugin are you using, exactly?

(if you're not using the plugin but 0.11dev, then point 2. has been solved)

For 1), I think we should visually distinguish closed milestone everywhere, in a similar way than we do for closed tickets, but maybe not exactly the same way, as strike-through style doesn't look that good for milestone names (italic?).

comment:2 by Paresh.Solanki@…, 17 years ago

Yes, it looks like the same issue.

I am using Trac V0.10 and tracwebadmin 0.1.2dev-r4240 I make the code changes myself if I know what I'm looking for but I'm not yet a python coder yet, so I will need my hand held for now :)

I think that italics for closed milestones would be a good idea. Definitely do not strikethrough on milestones as that wouldn't look too nice.

comment:3 by Christian Boos, 17 years ago

Milestone: 0.10.5
Severity: normalminor

(associating the webadmin plugin fixes to 0.10.x)

by luchko@…, 17 years ago

Attachment: 4995.patch added

This is the patch to fix the problem

comment:4 by Christian Boos, 16 years ago

Milestone: 0.10.5not applicable

comment:5 by Mark Mc Mahon <mark.mcmahon@…>, 14 years ago

I would recommend this ticket be closed. Looking under Admin in 0.13 dev:

  • There is a completed column
  • Clicking on a completed milestone (and it is check correctly)

comment:6 by Mark Mc Mahon <mark.m.mcmahon@…>, 14 years ago

Resolution: wontfix
Status: newclosed

Resolving as there no longer seems to be any issue, it seems to have been fixed sometime in the last 3 years.

comment:7 by osimons, 14 years ago

Milestone: not applicable
Resolution: wontfixworksforme

Thanks for reviewing and helping out! Just changing to a technically more correct resolution. See TracTicketTriage for explanations.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christopher Lenz.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christopher Lenz 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.