#7161 closed defect (invalid)
Version drop-list not populated with all versions
Reported by: | Owned by: | Malcolm Studd | |
---|---|---|---|
Priority: | normal | Component: | ExtendedVersionPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
The "Version" drop-list in the Edit Milestone page is only populated with versions that contain alpha-numeric and '.'. '/' and '?' seem to break it, so the list stops at the first version that contains '/' or '?'. Subsequent "good" versions are also omitted, so I guess it drops out at the first occurrence.
I haven't tried any other characters. We just happen to have a few versions with '/' and '?'.
Attachments (1)
Change History (5)
Changed 15 years ago by
Attachment: | version-names.png added |
---|
comment:1 Changed 15 years ago by
comment:2 Changed 15 years ago by
Here's my environment:
Trac: 0.11.7 Python: 2.5.2 (r252:60911, Jan 24 2010, 15:24:24) [GCC 4.3.2] setuptools: 0.6c9 SQLite: 3.5.9 pysqlite: 2.4.1 Genshi: 0.5.1 mod_python: 3.3.1 Pygments: 0.10 Subversion: 1.5.1 (r32289) jQuery: 1.2.6
comment:3 follow-up: 4 Changed 15 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
Summary: | Version drop-list not populated if versions contain certain characters → Version drop-list not populated with all versions |
Got it! This is a complete red herring - sorry for the trouble.
It was just a coincidence that all "clean" versions had future dates, and all the unusual ones had past dates (because they are real releases that happened). Each time you edit a version with no date, Trac populates the date with "NOW". So every new one I added or old one I changed got "NOW", and promptly disappeared.
So, it seems that only a future version can be added to a milestone. That makes perfect sense.
Thanks for your time, and keep up the good work. This is a very useful plug-in.
comment:4 Changed 15 years ago by
Replying to derek.hoyle@embeduk.com:
Each time you edit a version with no date, Trac populates the date with "NOW". So every new one I added or old one I changed got "NOW", and promptly disappeared.
Yup, I almost got caught by that investigating this. It's kind of annoying.
Thanks for your time, and keep up the good work. This is a very useful plug-in.
Thanks!
Seems to work for me: attachment:version-names.png
It sounds like Genshi is generating bad markup. What version of Genshi do you have installed?
Do the versions all appear in the drop-down for tickets?