Page MenuHomePhabricator

badtoken error on preview in new wikitext editor when you wait a few minutes
Closed, ResolvedPublic1 Estimated Story Points

Description

Steps to reproduce:

  • open page in NWE
  • make changes
  • open Publish dialog, click Show preview (probably not really necessary but this is how I got to the error)
  • wait a few minutes
  • click Review your changes

Will result in a badtoken error message, which gets cached in memory as if it were the change info (so closing and reopening the publish dialog will just redisplay the error without any attempt to repeat the request).

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript
Deskana renamed this task from badtoken error on preview in new wikitext editor to badtoken error on preview in new wikitext editor when you wait a few minutes.Feb 20 2018, 7:35 PM
Deskana triaged this task as Medium priority.
Deskana set the point value for this task to 1.
Deskana moved this task from To Triage to TR1: Releases on the VisualEditor board.
matmarex subscribed.

I can't reproduce this. Admittedly, instead of waiting a few minutes, I just logged out in another tab, but that should have the same effect of invalidating the token. NWE transparently handled the 'badtoken' error from the API, and retried with a new token.

I have no idea when this was fixed.