Closed Bug 300215 Opened 19 years ago Closed 19 years ago

submitting a vote complains that Table 'bugs_activity' was not locked

Categories

(Bugzilla :: Bugzilla-General, defect)

x86
Windows NT
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 277013

People

(Reporter: tmetro-mozilla, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Build Identifier: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4

While submitting a vote at bugzilla.mozilla.org (Version 2.19.1+) I received the
following error from votes.cgi:

DBD::mysql::st execute failed: Table 'bugs_activity' was not locked with LOCK
TABLES [for Statement "INSERT INTO bugs_activity
(bug_id,who,bug_when,fieldid,removed,added) VALUES
(300198,107711,now(),29,'UNCONFIRMED','NEW')"] at Bugzilla/DB.pm line 62
	Bugzilla::DB::SendSQL('INSERT INTO bugs_activity
(bug_id,who,bug_when,fieldid,remove...') called at CGI.pl line 257
	main::CheckIfVotedConfirmed(300198, 107711) called at
/opt/webtools/bugzilla/votes.cgi line 344
	main::record_votes() called at /opt/webtools/bugzilla/votes.cgi line 79


Reproducible: Didn't try

Steps to Reproduce:
1. from a bug report click on "Vote for this bug"
2. check the checkbox for the new bug
3. submit the vote form

Actual Results:  
Above error is produced.

Expected Results:  
Vote should be recorded.

Sounds related to bug 277013 and/or bug 273665.
I repeated the operation and on the second try it worked, but I suppose this
will be an intermittent problem that depends on whether there are existing locks.
This bug has been fixed in 2.19.2.

*** This bug has been marked as a duplicate of 277013 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.