Closed Bug 918647 Opened 11 years ago Closed 11 years ago

"Use of uninitialized value" warnings when using quicksearch

Categories

(Bugzilla :: Query/Bug List, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 5.0

People

(Reporter: glob, Assigned: glob)

References

Details

Attachments

(1 file)

https://bugzilla.mozilla.org/buglist.cgi?quicksearch=cppunittests%20TEST-UNEXPECTED-FAIL%20%7C%20TestStartupCache%20%7C%20test%20failed%20with%20return%20code%20256&list_id=7947188

Use of uninitialized value in transliteration (tr///) at 
Bugzilla/Search/Quicksearch.pm line 298.

https://bugzilla.mozilla.org/buglist.cgi?quicksearch=Component+returned+failure+code%3A+0x80570015+%28NS_ERROR_XPC_CI_RETURNED_FAILURE

Use of uninitialized value $line in substitution (s///) at Bugzilla/Search/Quicksearch.pm line 291.
Attached patch 918647_1.patchSplinter Review
parse_line('\s+', 1, "| ") returns ( '', undef ), triggering these warnings.|
Attachment #807589 - Flags: review?(simon)
Attachment #807589 - Flags: review?(simon) → review+
Flags: approval?
Target Milestone: --- → Bugzilla 5.0
Flags: approval? → approval+
Committing to: bzr+ssh://bjones%40mozilla.com@bzr.mozilla.org/bugzilla/trunk/
modified Bugzilla/Search/Quicksearch.pm
Committed revision 8750.
Status: NEW → RESOLVED
Closed: 11 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: