Bug 12392 - trying to vote gets invalid parameter
Summary: trying to vote gets invalid parameter
Status: CLOSED WORKSFORME
Alias: None
Product: Koha
Classification: Unclassified
Component: bugs.koha-community.org (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-09 21:51 UTC by Karl Berry
Modified: 2020-11-30 21:44 UTC (History)
3 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Karl Berry 2014-06-09 21:51:39 UTC
I tried to vote on http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=569 and received the following internal error ... maybe my account isn't allowed to vote, I'm not sure (I just created it a couple days ago), but presumably this error shouldn't happen anyway.  Although the error page says to mail it to chris@..., I somehow suspected reporting it this way would be preferable.

karl

URL: http://bugs.koha-community.org/bugzilla3/page.cgi?id=voting/user.html&bug_id=569#vote_569
Invalid parameter HASH(0xa9c6a94) passed to Bugzilla::User->visible_bugs: It must be numeric.

Traceback:

 at Bugzilla/User.pm line 894
	Bugzilla::User::visible_bugs(...) called at Bugzilla/User.pm line 873
	Bugzilla::User::can_see_bug(...) called at template/en/default/bug/link.html.tmpl line 38
	eval {...} called at template/en/default/bug/link.html.tmpl line 38
	eval {...} called at template/en/default/bug/link.html.tmpl line 18
	Template::Provider::__ANON__(...) called at /usr/lib/perl5/Template/Document.pm line 151
	eval {...} called at /usr/lib/perl5/Template/Document.pm line 149
	Template::Document::process(...) called at /usr/lib/perl5/Template/Context.pm line 351
	eval {...} called at /usr/lib/perl5/Template/Context.pm line 321
	Template::Context::process(...) called at Bugzilla/Template/Context.pm line 31
	Bugzilla::Template::Context::process(...) called at extensions/Voting/template/en/default/pages/voting/user.html.tmpl line 136
	eval {...} called at extensions/Voting/template/en/default/pages/voting/user.html.tmpl line 155
	eval {...} called at extensions/Voting/template/en/default/pages/voting/user.html.tmpl line 163
	eval {...} called at extensions/Voting/template/en/default/pages/voting/user.html.tmpl line 18
	Template::Provider::__ANON__(...) called at /usr/lib/perl5/Template/Document.pm line 151
	eval {...} called at /usr/lib/perl5/Template/Document.pm line 149
	Template::Document::process(...) called at /usr/lib/perl5/Template/Context.pm line 351
	eval {...} called at /usr/lib/perl5/Template/Context.pm line 321
	Template::Context::process(...) called at Bugzilla/Template/Context.pm line 31
	Bugzilla::Template::Context::process(...) called at /usr/lib/perl5/Template/Service.pm line 94
	eval {...} called at /usr/lib/perl5/Template/Service.pm line 91
	Template::Service::process(...) called at /usr/lib/perl5/Template.pm line 66
	Template::process(...) called at Bugzilla/Template.pm line 545
	Bugzilla::Template::process(...) called at /var/www/bugzilla3/page.cgi line 78
Comment 1 Katrin Fischer 2014-06-15 06:12:53 UTC
I can confirm that clicking on the 'vote' link results in the errors listed in the first comment.
Comment 2 Pablo AB 2014-09-29 14:46:53 UTC
Might have something to do with the fact that now voting is a Bugzilla extension:
https://bugzilla.mozilla.org/show_bug.cgi?id=286420
http://www.bugzilla.org/releases/4.0/release-notes.html#v40_feat_vot_ext
Comment 3 Marc Véron 2015-02-24 19:38:07 UTC
Still valid
Comment 4 Katrin Fischer 2020-01-05 14:31:05 UTC
Voting appears to work nicely now.