One day I had just one vote left and decided to vote on multiple nodes, wanting to see how the invisible monastery staff doing the background work would handle this unusual (and somewhat unfair) request.
I was surprised to discover that, after clicking the Vote button, there was no flash and/or a thunderclap, no voice boomed from the sky "WRONG, CRETIN!", nor was I turned into a pile of dust... In fact, my vote was registered successfully... but only for the last node of the ones I voted on.

I guess that some script (a Perl script, I guess :) parses the page, noting the nodes I have voted on, and then applying the votes... from bottom up???

Does anyone know if that is how it's supposed to be? Or maybe a warning should be generated in this situation?

--------------------------------
An idea is not responsible for the people who believe in it...

  • Comment on Last vote assignment when voting on muliple nodes

Replies are listed 'Best First'.
Re: Last vote assignment when voting on muliple nodes
by jhourcle (Prior) on Apr 25, 2005 at 13:55 UTC

    There is a possibility that the order (bottom up, or top down), is a function of the browser that you are using. There's nothing in the HTML form specification that state that the input fields must be sent in any particular order. I remember having to deal with these problems in the early days of HTML3, when some browsers would return the form elements in the reverse of the order that they were presented on the screen. (I can't remember which one it was, however... as there was only really lynx/mosaic/ie/netscape at that point, you'd think I'd be able to remember)

    For the most part, browsers do send their information in the order in which it was in the HTML document (which may not be the order it was displayed on the screen), but it's possible that others may send them in tab order, or whatever else they believe makes sense, or is easy for them to deal with, as there is no specific requirement on order.

Re: Last vote assignment when voting on muliple nodes
by dragonchild (Archbishop) on Apr 25, 2005 at 13:40 UTC
    That's perfectly expected, if not very well documented, behavior. Do you want it to behave differently? If you do, how do you want it to behave and why?

    The Perfect is the Enemy of the Good.

      I want it to assign me 10,000 XP points, send a limousine to my door with girls and champagne, and then have somebody say "I'm sorry, sir, there were no more votes available..."

      And then the driver would say "Where are we going today? :-)"

        Ok, you're free to propose that to the pmdevils. Though, and this is just a hunch, I don't think they'll be approving the RFC in its current form ...

        The Perfect is the Enemy of the Good.

Re: Last vote assignment when voting on muliple nodes (by design)
by tye (Sage) on Apr 25, 2005 at 15:30 UTC
      No problem on my side with accepting votes in any particular order. If that's how it is intended, so be it... as long as there's a reason behind it :)

      Thanks for the explanation.

      --------------------------------
      An idea is not responsible for the people who believe in it...