Bug #64873 [Csd]: Comment voting buttons do not work on Booleans page
| From: | php dot net at wfredk dot com | Date: | Sat, 18 May 2013 02:52:32 +0000 |
| Subject: | Bug #64873 [Csd]: Comment voting buttons do not work on Booleans page | ||
| References: | 1 | Groups: | php.webmaster |
| Request: | Send a blank email to php-webmaster+get-15873@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=64873&edit=1
ID: 64873
User updated by: php dot net at wfredk dot com
Reported by: php dot net at wfredk dot com
Summary: Comment voting buttons do not work on Booleans page
Status: Closed
Type: Bug
Package: Website problem
Operating System: Windows, probably irrelevant
PHP Version: Irrelevant
Assigned To: googleguy
Block user comment: N
Private report: N
New Comment:
OK, I was able to enter my votes from here at home (when I tried it from my office I never got to
the challenge response page). I'm curious why voting doesn't seem to have any effect on
the numbers next to the vote buttons, though ...
Previous Comments:
------------------------------------------------------------------------
[2013-05-18 02:32:41] googleguy@php.net
Alright, there doesn't appear to be anything on this side that would have caused
the error. There are some javascript bugs (in strict mode you get an origin error
because of the way the mirrors are setup), but unless the problem persists this
should only be a one off issue for most people.
Feel free to reopen the bug if the issue crops up again.
------------------------------------------------------------------------
[2013-05-18 02:06:10] php dot net at wfredk dot com
I'm not sure how to identify what mirror I was on - I copied the URL from Firefox's
address bar into the bug report and thought that would identify the page adequately. I did see
something in the lower right corner of the page saying "This mirror generously provided by
Yahoo" if that helps...
I was connected to the site from my office at MIT when I observed the problem. I won't be back
there until Monday morning.
I tried to vote today, I did not vote on May 14.
------------------------------------------------------------------------
[2013-05-18 01:35:18] googleguy@php.net
Can you tell me which mirror you were using when this error occurred. The link
http://php.net/manual/en/language.types.boolean.php
should redirect you to one of
the local mirrors like us1.php.net or ca1.php.net or just the www.php.net. I can
tell you that there is no obvious cause for why this error would have occurred
today. Voting does not require that you sign in to any system, but there are certain
restrictions on voting based on IP, mirrors, and number of incoming votes.
I can see that on 2013-05-14 around the same time two votes were indeed placed on
those two user contributed notes originating from the same IP address and mirror.
They were both counted. Did you place the vote today or on the 14th?
------------------------------------------------------------------------
[2013-05-17 21:28:03] php dot net at wfredk dot com
Description:
------------
On the page at http://php.net/manual/en/language.types.boolean.php
I wanted to "vote up" the comment by "Steve" that "PHP does not break any
rules with the values of true and false" and to vote down the comment by "geza at turigeza
dot com" whose comment ignores the fact a non-empty string is TRUE. However, in each case when
I pressed the "up" or "down" button, a red "X" was displayed with a
tooltip that says "Error :("
I have not tried voting on any other pages, I don't know if this is a common problem.
If a person has to be logged in or something to vote on comments, there should be annotations about
that condition somewhere near the voting buttons. Otherwise, there should be useful error messages
if something goes wrong.
Test script:
---------------
navigate to http://php.net/manual/en/language.types.boolean.php
press an up or down vote button
Expected result:
----------------
vote status changed
Actual result:
--------------
red "x" displayed with "Error :(" in a tooltip when the mouse hovers over the
"x"
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=64873&edit=1