Closed Bug 1696636 Opened 4 years ago Closed 3 years ago

Numerous bugs can't be displayed due to "internal error: It must be numeric" caused by invalid entries in bugs_activity table

Categories

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

defect

Tracking

()

RESOLVED DUPLICATE of bug 1763003

People

(Reporter: bj, Assigned: dkl)

Details

Attachments

(1 file)

Attempts to view bug 17880 fail. The response is:

Bugzilla has suffered an internal error:

Invalid parameter ? passed to Bugzilla::User->visible_bugs: It must be numeric.

Component: User Interface → General

This is due to some DB corruption that must have happened a long time ago. The bugs activity table has values for added and removed of '? ?' for the dependency fields of the bugs.

mysql> select count(distinct bug_id) from bugs_activity where (added = '? ?' or removed = '? ?')
count(distinct bug_id)
539

The easy fix would be to just delete the offending rows from the bugs_activity table which will allow the bugs to be able load again. The right fix would be to also make sure the current blocked/dependson values have proper matching entries in the bugs_activity table as well and add them if the '? ?' entries were supposed to be those.

Will look into how much work it would be to fix this properly.

Assignee: nobody → dkl
Status: NEW → ASSIGNED
Summary: Bug 17880 can't be displayed: "internal error" It must be numeric. → Numerous bugs can't be displayed due to "internal error: It must be numeric
Summary: Numerous bugs can't be displayed due to "internal error: It must be numeric → Numerous bugs can't be displayed due to "internal error: It must be numeric" caused by invalid entries in bugs_activity table
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: