Closed Bug 395717 Opened 17 years ago Closed 17 years ago

Moving bugs crashes Bugzilla due to unlock tables

Categories

(Bugzilla :: Creating/Changing Bugs, defect)

3.1.1
defect
Not set
critical

Tracking

()

RESOLVED FIXED
Bugzilla 3.2

People

(Reporter: LpSolit, Assigned: LpSolit)

References

Details

(Keywords: regression, selenium)

Attachments

(1 file)

Attached patch patch, v1Splinter Review
Multi-select tables are not locked when moving bugs to another installation:

DBD::mysql::db selectcol_arrayref failed: Table 'bug_cf_affected_versions' was not locked with LOCK TABLES [for Statement "SELECT value FROM bug_cf_affected_versions WHERE bug_id = ? ORDER BY value"] at Bugzilla/Bug.pm line 3031 	Bugzilla::Bug::__ANON__('Bugzilla::Bug=HASH(0x8d2a29c)') called at Bugzilla/Bug.pm line 504 	Bugzilla::Bug::update('Bugzilla::Bug=HASH(0x8cef1a8)') called at /var/www/html/bugzilla/process_bug.cgi line 503
Flags: blocking3.1.2+
Attachment #280390 - Flags: review?(mkanat)
Comment on attachment 280390 [details] [diff] [review]
patch, v1

Looks good. You could just move the code from lower in process_bug up higher, and then you could re-use the variable, too.
Attachment #280390 - Flags: review?(mkanat) → review+
Flags: approval+
Checking in process_bug.cgi;
/cvsroot/mozilla/webtools/bugzilla/process_bug.cgi,v  <--  process_bug.cgi
new revision: 1.385; previous revision: 1.384
done
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Flags: testcase+
Keywords: selenium
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: