Closed Bug 1639902 Opened 4 months ago Closed 4 months ago

Fix `Use of uninitialized value in string eq at /app/Bugzilla/Bug.pm line 4674`

Categories

(bugzilla.mozilla.org :: General, defect)

defect

Tracking

()

RESOLVED FIXED

People

(Reporter: glob, Assigned: dkl)

Details

Attachments

(1 file)

46 bytes, text/x-github-pull-request
Details | Review

In production BMO is generating the following Perl error:

Use of uninitialized value in string eq at /app/Bugzilla/Bug.pm line 4674

Looks like one of the following fields is undef:

    # Suppress any mid-air collision or duplicated change
    if (( $when eq $operation->{'when'}
      && $fieldname eq $last_change->{'fieldname'}
      && $removed eq $last_change->{'removed'}
      && $added eq $last_change->{'added'}
      && $attachid eq $last_change->{'attachid'})
      || $removed eq $added )
    {
      next;
    }
Attached file GitHub Pull Request
Assignee: nobody → dkl
Status: NEW → ASSIGNED

Merged to master.

Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.