Last modified: 2014-11-10 21:07:44 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T47766, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 45766 - [TUX] Expired edit token is not refreshed
[TUX] Expired edit token is not refreshed
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Translate (Other open bugs)
unspecified
All All
: High normal (vote)
: ---
Assigned To: Santhosh Thottingal
:
: 46062 (view as bug list)
Depends on:
Blocks: 46062
  Show dependency treegraph
 
Reported: 2013-03-06 09:02 UTC by Niklas Laxström
Modified: 2014-11-10 21:07 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Niklas Laxström 2013-03-06 09:02:29 UTC
When keeping the message list page open for long time, the edit token can expire.

I understood that the mw.api.edit module should automatically try to refresh the token if this is the case, but it is not happening.

The message is marked as "Unsaved", and if you open it, there is warning: "Unable to save message: Invalid token".

The only way out of this is to copy the translation to clipboard and refresh the page and do it again.
Comment 1 Siebrand Mazeland 2013-03-06 11:27:47 UTC
This is a dupe. There is an open issue with "invalid token" in the summar for Translate.
Comment 2 Niklas Laxström 2013-03-06 11:39:52 UTC
That was filed against the old editor. I was under the impression that it would have been fixed in TUX already.
Comment 3 Siebrand Mazeland 2013-03-19 20:18:50 UTC
*** Bug 46062 has been marked as a duplicate of this bug. ***
Comment 4 Santhosh Thottingal 2013-03-29 11:53:55 UTC
Patch I2bc6724cee387c8f849aa7903d968548ae39c848
Comment 5 Nemo 2013-04-03 15:40:19 UTC
Steps for reproduction according to Niklas: open a translation editor, log out, log in, wait a day, try to save. 
He also said that the fix should be live on production (although I've no idea how); if it is, it didn't work.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links