Closed Bug 193583 Opened 22 years ago Closed 22 years ago

httpd log errors from votes.cgi assuming a user is logged in

Categories

(Bugzilla :: Bugzilla-General, defect)

defect
Not set
minor

Tracking

()

RESOLVED DUPLICATE of bug 193575

People

(Reporter: bugzilla, Assigned: justdave)

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2b) Gecko/20021016 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2b) Gecko/20021016 [Sun Feb 16 16:28:04 2003] votes.cgi: Use of uninitialized value in string eq at /var/www/html/bugzilla_testing/votes.cgi line 131. [Sun Feb 16 16:28:04 2003] votes.cgi: Use of uninitialized value in numeric lt (<) at Bugzilla/Util.pm line 125. [Sun Feb 16 16:28:04 2003] votes.cgi: Use of uninitialized value in numeric eq (==) at /var/www/html/bugzilla_testing/votes.cgi line 196. [Sun Feb 16 16:28:05 2003] votes.cgi: Argument "" isn't numeric in numeric lt (<) at data/template/en/default/bug/votes/list-for-user.html.tmpl line 83. [Sun Feb 16 16:28:05 2003] votes.cgi: Argument "" isn't numeric in numeric gt (>) at data/template/en/default/bug/votes/list-for-user.html.tmpl line 83. Reproducible: Always Steps to Reproduce: 1. logout of bugzilla (remove login cookie) 2. view voters for a bug with votes 3. click a username to view votes a user has made Actual Results: Things work (i.e. voting details displayed), but httpd log errors are generated Expected Results: No log errors Basically, votes.cgi assumes that there is a login cookie at line 131, and this leads to the warnings mentioned above
Apparent duplicate submission. *** This bug has been marked as a duplicate of 193575 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.