Closed Bug 306364 Opened 19 years ago Closed 19 years ago

SQL crash when moving a bug to another product

Categories

(Bugzilla :: Creating/Changing Bugs, defect)

2.21
defect
Not set
critical

Tracking

()

RESOLVED FIXED
Bugzilla 2.22

People

(Reporter: LpSolit, Assigned: LpSolit)

References

Details

(Keywords: regression)

Attachments

(1 file)

Move a bug to another product:

DBD::mysql::st execute failed: Unknown column 'groups_id' in 'field list' [for
Statement "SELECT DISTINCT groups.id, isactive, oldcontrolmap.membercontrol,
newcontrolmap.membercontrol, CASE WHEN groups_id IN
(37,41,48,44,39,35,42,45,59,38,36,40,55,43) THEN 1 ELSE 0 END,
bug_group_map.group_id IS NOT NULL FROM groups LEFT JOIN group_control_map AS
oldcontrolmap ON oldcontrolmap.group_id = groups.id AND oldcontrolmap.product_id
= 4 LEFT JOIN group_control_map AS newcontrolmap ON newcontrolmap.group_id =
groups.id AND newcontrolmap.product_id = 40 LEFT JOIN bug_group_map ON
bug_group_map.group_id = groups.id AND bug_group_map.bug_id = 289 "] at
Bugzilla/DB.pm line 83
	Bugzilla::DB::SendSQL('SELECT DISTINCT groups.id, isactive,
oldcontrolmap.membercont...') called at
/var/www/html/cvsbugzilla/process_bug.cgi line 1657


groups_id should be groups.id. This is another regression from bug 304583.
Status: NEW → ASSIGNED
Target Milestone: --- → Bugzilla 2.22
Attached patch patch, v1Splinter Review
Attachment #194224 - Flags: review?(bugreport)
Comment on attachment 194224 [details] [diff] [review]
patch, v1

That's it.  Thanks.
Attachment #194224 - Flags: review?(bugreport) → review+
Flags: approval?
Flags: approval? → approval+
Checking in process_bug.cgi;
/cvsroot/mozilla/webtools/bugzilla/process_bug.cgi,v  <--  process_bug.cgi
new revision: 1.282; previous revision: 1.281
done
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: