Page MenuHomePhabricator

Cannot recover from invalid token error
Closed, ResolvedPublic


After getting an "Invalid token (badtoken)" error when saving a translation (probably due to timeout), the interface cannot recover: pressing the save button again will just repeat the same error message.

Version: unspecified
Severity: normal
Whiteboard: tux-fixed
See Also:



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 12:49 AM
bzimport set Reference to bz41466.

Of course, but you shouldn't have to; the script could request a new token without any user interaction.

  • Bug 48775 has been marked as a duplicate of this bug. ***

Wrong component. As shown by your own gerrit change, the problem is in JavaScript and not the API.

(why do I always forget to uncheck that "reset assignee" box?)

Any of our JavaScript gurus have any ideas on how to make progress on this?

Won't I759739 fix this? It makes mw.api reload the token and retry on a badtoken error.

Yes, I7597399ae72381a3b3253637ed4a6537c3fb1406 is meant to fix this.

(In reply to Matthew Flaschen from comment #9)

Yes, I7597399ae72381a3b3253637ed4a6537c3fb1406 is meant to fix this.

That patch was abandoned in favor of for bug 34733 which was merged on 2014-04-04.

mflaschen: Can we close this report as RESOLVED FIXED?