Closed Bug 172010 Opened 22 years ago Closed 22 years ago

voting broken on tip

Categories

(Bugzilla :: Creating/Changing Bugs, defect, P1)

2.17
defect

Tracking

()

RESOLVED FIXED
Bugzilla 2.18

People

(Reporter: daa, Assigned: bugreport)

References

()

Details

(Whiteboard: regression from groups and product/component ids)

Attachments

(1 file)

voting is broken on the current bugzilla tip - 

SELECT bugs.bug_id, reporter, assigned_to, qa_contact, reporter_accessible,
cclist_accessible, cc.who IS NOT NULL, COUNT(bug_group_map.group_id) as
cntbugingroups, COUNT(DISTINCT(user_group_map.group_id)) as cntuseringroups FROM
bugs LEFT JOIN cc ON bugs.bug_id = cc.bug_id AND cc.who = 2529 LEFT JOIN
bug_group_map ON bugs.bug_id = bug_group_map.bug_id LEFT JOIN user_group_map ON
user_group_map.group_id = bug_group_map.group_id AND user_group_map.isbless = 0
AND user_group_map.user_id = 2529 WHERE bugs.bug_id = 837 GROUP BY bugs.bug_id:
Table 'cc' was not locked with LOCK TABLES at globals.pl line 246.
Attached patch PatchSplinter Review
Looks like a locking problem and a leftover from bug 43600.  Please give this
a try.
patch appears to fix error - 
Assignee: myk → bugreport
I'll take this
Status: NEW → ASSIGNED
Priority: -- → P1
Whiteboard: regression from groups and product/component ids
Target Milestone: --- → Bugzilla 2.18
Comment on attachment 101313 [details] [diff] [review]
Patch

oops. r=bbaetz x2
Attachment #101313 - Flags: review+
All fixed..... Nice catch

Checking in votes.cgi;                                       
/cvsroot/mozilla/webtools/bugzilla/votes.cgi,v  <--  votes.cgi
new revision: 1.7; previous revision: 1.6
done
Checking in CGI.pl;
/cvsroot/mozilla/webtools/bugzilla/CGI.pl,v  <--  CGI.pl
new revision: 1.180; previous revision: 1.179
done                                        
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: