Ticket #5941 (closed defect: fixed)
Edit Milestone defaults to moving all open tickets to milestone None
| Reported by: | garyo@… | Owned by: | remy.blank@… |
|---|---|---|---|
| Priority: | high | Milestone: | 0.11.1 |
| Component: | roadmap | Version: | devel |
| Severity: | normal | Keywords: | |
| Cc: | kirean@…, gregoryba@…, remy.blank@… |
Description
If you edit a non-completed milestone, the checkbox to "Retarget associated open tickets to milestone:" defaults to checked, and the target milestone is None. If you don't notice that and just change the milestone text or date or whatever, all of a sudden all your tickets for that milestone are gone (moved to None). And there's no easy way to get them back except one by one.
This is in 0.11dev-r5923 (trunk as of a couple of weeks ago).
I suspect it's this line in milestone_edit.html:
<input type="checkbox" id="retarget" name="retarget" checked="checked" />
I don't think "checked" is a valid value there, maybe it should be a genshi var instead, or just default to off always since it's dangerous.


