7

I was reviewing some edits today and went to reject one (which one is irrelevant). After clicking on the reject button I selected the custom option and typed in my reason. I then clicked the reject button on the pop-up window. I was then presented with a red pop-up that stated something like "You appear to be using javascript to avoid clicking a button", or something similarly absurd. The rejection failed. The only JavaScript involved was that supplied by the site itself.

  • Was this a one off or is it ongoing ? – Iain Aug 25 '12 at 22:55
  • This is a one off for me but I seldom review edits and can't recall if I've rejected one before or not. Accepting edits worked fine. – John Gardeniers Aug 25 '12 at 22:56
  • My guess is someone wrote a user script that does something that they're wanting to avoid; that's the only thing I can make sense of the message. And something probably went wrong with its validation. – Mark Henderson Aug 26 '12 at 1:40
  • @Mark, I suspect you're correct on both counts. Of course it's not possible to reliably determine whether a button was click was caused by a human or code and any attempt to do so is doomed to failure. – John Gardeniers Aug 26 '12 at 2:18
  • It's popping up all over meta.stackexchange.com/questions/144944/… – Iain Aug 26 '12 at 7:43
  • Ok, it's not just me then. Let's leave it to the devs to sort out. – John Gardeniers Aug 26 '12 at 11:29
1

It looks like this problem has been resolved.

This is fixed now. Sorry about that.

As part of a refactoring related to the new review UI, we started storing "rejection reason ids" with bytes instead of ints, and I failed to notice that we were representing "custom reason" with -1 on the client side (and bytes can't be negative).

  • While that explains why the rejection didn't work it doesn't even begin to explain the error message, so they must have screwed something else up as well. – John Gardeniers Aug 28 '12 at 8:03

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .