Edit report at https://bugs.php.net/bug.php?id=64873&edit=1

 ID:                 64873
 Updated by:         [email protected]
 Reported by:        php dot net at wfredk dot com
 Summary:            Comment voting buttons do not work on Booleans page
-Status:             Open
+Status:             Closed
 Type:               Bug
 Package:            Website problem
 Operating System:   Windows, probably irrelevant
 PHP Version:        Irrelevant
-Assigned To:        
+Assigned To:        googleguy
 Block user comment: N
 Private report:     N

 New Comment:

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.


Previous Comments:
------------------------------------------------------------------------
[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] [email protected]

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

-- 
PHP Webmaster List Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to