Edgewall Software

Opened 14 years ago

Last modified 14 years ago

#8816 closed defect

Rename a milestone instead of create a new one. — at Version 5

Reported by: Sondoar <ismael@…> Owned by: Remy Blank
Priority: normal Milestone: 0.11.7
Component: roadmap Version: 0.11.5
Severity: normal Keywords: milestone rename patch
Cc: niels.reedijk@… Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Christian Boos)

Steps:

  • Create a new milestone with an existing milestone name.
  • After the warning of there is already an existing milestone with that name, I change the name to a new one, and submit.
  • Then trac renames the old milestone name to the new one. And there is no new milestone created.
Trac:  	0.11.5
Python: 	2.5.4 (r254:67916, Apr 4 2009, 17:56:17) [GCC 4.3.3]
setuptools: 	0.6c9
SQLite: 	3.6.10
pysqlite: 	2.5.0
Genshi: 	0.5.1
Pygments: 	0.10
Subversion: 	1.4.6 (r28521)
jQuery:	1.2.6

Change History (7)

comment:1 by Remy Blank, 14 years ago

Milestone: 0.11.6
Owner: set to Remy Blank

Ooh, bad! Confirmed here on 0.11-stable.

comment:2 by Remy Blank, 14 years ago

Milestone: 0.11.60.11.7

0.11.6 is about to start testing, so we'll do that in the next release.

by niels.reedijk@…, 14 years ago

Patch for this problem

comment:3 by anonymous, 14 years ago

Re: my patch

I'm not sure whether the logic of doing the milestone rename is clear from the flow of the code, so perhaps it needs a comment to point that out.

comment:4 by niels.reedijk@…, 14 years ago

Cc: niels.reedijk@… added
Keywords: patch added

Add patch keyword (and sort of an attempt to 'bump' the patch)

in reply to:  4 comment:5 by Christian Boos, 14 years ago

Description: modified (diff)

Replying to niels.reedijk@…:

Add patch keyword (and sort of an attempt to 'bump' the patch)

The "perfect" way to bump such a patch would be to add a functional test for it ;-)

See source:branches/0.11-stable/trac/ticket/tests/functional.py.

by niels.reedijk@…, 14 years ago

Functional test

Note: See TracTickets for help on using tickets.