Modify ↓
Opened 9 years ago
Last modified 15 months ago
#12459 new defect
Milestone edit page says 'retargeted to milestone "None"' (None milestone is missing)
Reported by: | Jun Omae | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | next-stable-1.6.x |
Component: | general | Version: | |
Severity: | minor | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
How to reproduce:
- Visit
/milestone/milestone2
page - Click
Edit milestone
button - Check
Completed:
checkbox - Select
None
forRetarget associated open tickets to milestone:
dropdown - Submit
Proposed ad hoc patch:
-
trac/ticket/roadmap.py
diff --git a/trac/ticket/roadmap.py b/trac/ticket/roadmap.py index 7690f0495..6c523c5db 100644
a b class MilestoneModule(Component): 718 718 add_notice(req, _('The tickets associated with milestone ' 719 719 '"%(name)s" have been retargeted to milestone ' 720 720 '"%(retarget)s".', name=milestone.name, 721 retarget=retarget_to ))721 retarget=retarget_to or '')) 722 722 new_values = {'milestone': retarget_to} 723 723 comment = _("Tickets retargeted after milestone deleted") 724 724 tn = BatchTicketNotifyEmail(self.env) … … class MilestoneModule(Component): 805 805 add_notice(req, _('The open tickets associated with ' 806 806 'milestone "%(name)s" have been retargeted ' 807 807 'to milestone "%(retarget)s".', 808 name=milestone.name, retarget=retarget_to)) 808 name=milestone.name, 809 retarget=retarget_to or '')) 809 810 new_values = {'milestone': retarget_to} 810 811 comment = comment or \ 811 812 _("Open tickets retargeted after milestone closed")
Also, None phrase in retargeted milestone dropdown is a general word. It is difficult to translate. I think we should change to something better, e.g. no targeted milestone, etc…
Attachments (1)
Change History (5)
by , 9 years ago
Attachment: | 20160419T185200.png added |
---|
comment:1 by , 9 years ago
Summary: | Milestone edit page says 'retargetde to milestone "None"' (None milestone is missing) → Milestone edit page says 'retargeted to milestone "None"' (None milestone is missing) |
---|
comment:2 by , 8 years ago
Milestone: | next-stable-1.0.x → next-stable-1.2.x |
---|
comment:3 by , 5 years ago
Milestone: | next-stable-1.2.x → next-stable-1.4.x |
---|
Note:
See TracTickets
for help on using tickets.
Moved ticket assigned to next-stable-1.0.x since maintenance of 1.0.x is coming to a close. Please move the ticket back if it's critical to fix on 1.0.x.