Closed Bug 252005 Opened 20 years ago Closed 14 years ago

Cannot change capitalisation of Groups

Categories

(Bugzilla :: Administration, task)

2.17.7
task
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 3.6

People

(Reporter: bugzilla, Assigned: Steve_P)

Details

Attachments

(1 file, 1 obsolete file)

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-gb) AppleWebKit/125.2 (KHTML, like Gecko) Safari/125.8
Build Identifier: 

Spun off from bug#86501

Reproducible: Always
Steps to Reproduce:
Assignee: justdave → bugzilla
Status: UNCONFIRMED → NEW
Ever confirmed: true
Actually spun off from bug#86051
QA Contact: mattyt-bugzilla → default-qa
Attachment #450981 - Flags: review?(mkanat)
Comment on attachment 450981 [details] [diff] [review]
Fix to allow capitalization of Groups (in edit)

No, because this would allow modifying one group to have a name that is case-insensitively the same as another.

Instead, see how Bugzilla::Version::_check_value works.
Attachment #450981 - Flags: review?(mkanat) → review-
No it wouldn't. I guess you didn;t check the modification yourself.

If you attempt to greate TWO groups. One called 'Test' and another called 'test', you will get an error on the second of 'The group test already exists.' 


If you create one group called 'Test'. Then create a group called 'Test1'.
Edit the group called 'Test1" to 'test' and you stioll get the same error 'The group test already exists.'

This bug fix will NOT allow you to modify a group to have a case insensitive name as another.
I did just notice one error though. The version diff is the wrong way around. + is - and - is +, doh.
Attachment #450981 - Attachment is obsolete: true
Attachment #451124 - Flags: review?(mkanat)
Comment on attachment 451124 [details] [diff] [review]
Fixed Diff (correct way round now)

Oh, I see what you mean. I think it would still be better to check the id, but this is fine.
Attachment #451124 - Flags: review?(mkanat) → review+
Assignee: bugzilla → Steve_P
Flags: approval3.6+
Flags: approval+
Target Milestone: --- → Bugzilla 3.6
Thanks for the patch, Steve! :-)

Committing to: bzr+ssh://bzr.mozilla.org/bugzilla/trunk/
modified Bugzilla/Group.pm
Committed revision 7220.

Committing to: bzr+ssh://bzr.mozilla.org/bugzilla/3.6/
modified Bugzilla/Group.pm
Committed revision 7106.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: