Closed Bug 2453 Opened 26 years ago Closed 25 years ago

Blank regexp expression not ignored

Categories

(Bugzilla :: Bugzilla-General, defect, P2)

Other
Other

Tracking

()

VERIFIED FIXED
Bugzilla old

People

(Reporter: ian, Assigned: terry)

References

Details

If the search string is nil, then it doesn't matter whether you do a substring or regexp search, that part should be ignored! Yet at the moment, it gives an error page.
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
This has been fixed, I think.
Status: RESOLVED → REOPENED
Actually, it has got worse. When the text field is blank, then if the match type is not "exact", the entire section should be ignored. i.e., if I search for "" as regexp, then it should *not do the regexp search*. Yet at the moment, setting "Email:" to "" and "matching as" to "regexp" or "not regexp" will cause bugzilla to list *every* bug! I doubt that this is the expected behaviour. An alternative is to add "Skip" to the list of "Matching As" types, but this may get confusing.
Resolution: FIXED → ---
Clearing Fixed resolution for now.
Status: REOPENED → NEW
Reassigning to dmose@mozilla.org, who now has front-line responsibility for all Bonsai and Bugzilla bugs.
Summary: Queries: Setting a string to "" but requesting regexp causes error → Blank regexp expression not ignored
*** Bug 2202 has been marked as a duplicate of this bug. ***
Reassigning back to me. That stuff about me no longer being the front-line person responsible for Bugzilla and Bonsai turned out to be short-lived. Please pardon our confusion, and I'm very sorry about the spam.
Status: NEW → ASSIGNED
This code has been reworked enough times since; I think it's fixed now. (I've said that before!)
Status: ASSIGNED → RESOLVED
Closed: 26 years ago25 years ago
Resolution: --- → FIXED
Cool.
Status: RESOLVED → VERIFIED
Moving to Bugzilla product
Component: Bugzilla → Bugzilla-General
Product: Webtools → Bugzilla
QA Contact: matty
Target Milestone: --- → Bugzilla old
Version: other → unspecified
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.