Closed
Bug 448551
Opened 17 years ago
Closed 13 years ago
The Target Milestone field should have the same maximum length as the Version field
Categories
(Bugzilla :: Database, defect)
Tracking
()
RESOLVED
FIXED
Bugzilla 4.4
People
(Reporter: eirens, Assigned: gerv)
Details
Attachments
(1 file, 3 obsolete files)
9.31 KB,
patch
|
LpSolit
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.1) Gecko/2008070206 Firefox/3.0.1
Build Identifier:
I frequently want to make matching Version and Target Milestone entries, whereupon I run into a 20-character limit on Milestone names. Version entries allow more characters than this.
Reproducible: Always
Steps to Reproduce:
1. Try to create a Milestone with e.g. 21 characters in its name.
2. Try to create a Version with e.g. 30 characters in its name.
Actual Results:
It is possible to create the 30-char Version entry but not the 21-char Milestone entry.
Expected Results:
I would expect Version and Milestone entries to have the same character length limit as each other (by making Milestone longer, not by making Version shorter.)
I searched for this in bmo and didn't find any previous request for it. Maybe my terminology is off.
Reporter | ||
Updated•17 years ago
|
Summary: Target Milestones should support same (not less) characters as Veresions. → Target Milestones should support same (not less) characters as Versions.
Reporter | ||
Updated•17 years ago
|
OS: Mac OS X → Linux
Version: unspecified → 3.0.3
![]() |
||
Comment 1•17 years ago
|
||
Yeah, makes sense.
Assignee: general → administration
Status: UNCONFIRMED → NEW
Component: Bugzilla-General → Administration
Ever confirmed: true
OS: Linux → All
Hardware: PC → All
![]() |
||
Comment 2•17 years ago
|
||
That's actually a DB problem:
milestones.value has varchar(20) while versions.value has varchar(64).
Assignee: administration → database
Component: Administration → Database
I think the change I've proposed in bug#467711 may also help workaround this issue for many users who really need an extra field for an expanded description for milestones.
Reporter | ||
Comment 4•15 years ago
|
||
Beyond voting and this comment, how do I nudge this in a polite way to gently bring attention to it?
Comment 5•15 years ago
|
||
Eiren: You can always try to come into IRC and convince somebody to work on it. :-) http://wiki.mozilla.org/Bugzilla:Communicate
![]() |
||
Comment 6•15 years ago
|
||
This patch fixes the DB schema (untested; not sure if the indexes must be rebuilt), because eirens asked so kindly on IRC. :) But I don't have the time nor the motivation to convert all the 'size="20" maxlength="20"' to 'size="64" maxlength="64"' in the various templates, and to make sure that everything is still working fine. But it shouldn't be too hard for someone to continue from here.
Assignee | ||
Comment 7•13 years ago
|
||
I just hit this; let's fix it :-) I think I've probably got all the places you can type in a target milestone. (I think perhaps the one in edit-common.html will never get hit, because there's always at least one milestone, but I updated it anyway.)
Gerv
Assignee: database → gerv
Attachment #494058 -
Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #602839 -
Flags: review?(LpSolit)
Assignee | ||
Comment 8•13 years ago
|
||
Turns out there's a constant as well.
Gerv
Attachment #602839 -
Attachment is obsolete: true
Attachment #602842 -
Flags: review?(LpSolit)
Attachment #602839 -
Flags: review?(LpSolit)
Assignee | ||
Comment 9•13 years ago
|
||
Turns out there is some old checksetup.pl code which switches the database column sizes back again! This version of the patch removes it.
Last one, I hope...
Gerv
Attachment #602842 -
Attachment is obsolete: true
Attachment #602843 -
Flags: review?(LpSolit)
Attachment #602842 -
Flags: review?(LpSolit)
Assignee | ||
Updated•13 years ago
|
Summary: Target Milestones should support same (not less) characters as Versions. → The Target Milestone field should have the same maximum length as the Version field
![]() |
||
Comment 10•13 years ago
|
||
Comment on attachment 602843 [details] [diff] [review]
Patch v.3
>=== modified file 'Bugzilla/Install/DB.pm'
>+ # 2010-11-30 LpSolit@gmail.com - Bug 448551
Fix the date to match the current date. r=LpSolit with this fix on checkin.
Attachment #602843 -
Flags: review?(LpSolit) → review+
![]() |
||
Updated•13 years ago
|
Flags: approval+
Target Milestone: --- → Bugzilla 4.4
Assignee | ||
Comment 11•13 years ago
|
||
Committing to: bzr+ssh://bzr.mozilla.org/bugzilla/trunk/
modified template/en/default/admin/products/edit-common.html.tmpl
modified template/en/default/admin/milestones/edit.html.tmpl
modified Bugzilla/DB/Schema.pm
modified Bugzilla/Constants.pm
modified Bugzilla/Install/DB.pm
modified template/en/default/admin/milestones/create.html.tmpl
Committed revision 8163.
Gerv
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•