Closed
Bug 1064878
Opened 10 years ago
Closed 10 years ago
Use of uninitialized value in pattern match (m//) at /loader/0x7ffa9dedc498/Bugzilla/Extension/BugmailFilter/Filter.pm line 172
Categories
(bugzilla.mozilla.org :: Extensions, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: glob, Assigned: glob)
References
()
Details
i'm seeing a lot of Use of uninitialized value in pattern match (m//) at /loader/0x7ffa9dedc498/Bugzilla/Extension/BugmailFilter/Filter.pm line 172 in the logs.
> 170 if (substr($field_name, 0, 1) eq '~') {
> 171 my $substring = quotemeta(substr($field_name, 1));
> 172 if ($args->{field}->{field_name} !~ /$substring/i) {
> 173 return 0;
> 174 }
> 175 }
changes to fields which are coalesced into a single filter_field (such as tracking flags) result in filter args without a field_name. substring matching isn't applicable, so just skip it.
To ssh://gitolite3@git.mozilla.org/webtools/bmo/bugzilla.git
7f1e1ce..cf7ddf8 master -> master
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Updated•5 years ago
|
Component: Extensions: BugmailFilter → Extensions
You need to log in
before you can comment on or make changes to this bug.
Description
•