Open Bug 914583 Opened 12 years ago Updated 9 years ago

Advanced Search ignores component capitalization

Categories

(Bugzilla :: Query/Bug List, defect)

defect
Not set
minor

Tracking

()

UNCONFIRMED

People

(Reporter: webmaster, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.63 Safari/537.31 Steps to reproduce: Background here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=416541 If several products contain the same component name, but with mixed capitalization, the values seem to be squashed into a single value which may appear to be incorrect to users. For instance, in the New Bug UI below, you'll see a component called "Core" with an uppercase C https://bugs.eclipse.org/bugs/enter_bug.cgi?product=JDT Advanced Search on the same product shows the "core" component with a lowercase "c": https://bugs.eclipse.org/bugs/query.cgi?format=advanced&classification=Eclipse&product=JDT Expected results: In the end, perhaps we should have consistent naming conventions, but I think capitalization should be preserved.
It wouldn't make sense to have two entries "Core" and "core" in the component list. This would be confusing to users. That's why Bugzilla selected one component name, ignoring its case. Suggesting wontfix.
Severity: normal → minor
(In reply to Frédéric Buclin from comment #1) > It wouldn't make sense to have two entries "Core" and "core" in the > component list. I agree, but that is not the issue here, but a side-effect of a potential fix. Right now, the search form "core" and the rest of the bug system "Core" show the same component name in an inconsistent fashion, and this is new behaviour from 4.2.
I have facing the same problem as Denis. In fact with bugzilla 5.0.0: Given i have: - product_a and product_b, - product_a has "Core" as component. - product_b has "core" as component. When i use advance search i have only one "core" component ("core" or "Core" it depends with the ordre of the component id in the database). if i'm looking for all bugs that belongs "Core" component in product_b, the result is 0 bugs found due to search sensitivity feature for case. When i try to get all "Core" bugs whenever the product is the serch only return the bugs that belongs on the component with exact case and ignore all other case of the same name. I notice that this behavior is the same for versions and milestones. To solve this problem i have patched my bugzilla with the patch attached
Attached patch 914583.patchSplinter Review
fix search component,versions, milestones case sensitivity
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: