https://bugzilla.wikimedia.org/show_bug.cgi?id=72500
[email protected] changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|Unprioritized |Normal Summary|Flow: clicking watchlist |Flow: clicking watch star |star in topic titlebar |in topic titlebar doesn't |doesn't handle badtoken |handle badtoken timeout --- Comment #1 from [email protected] --- I returned to a Flow board in my browser after an hour or so of inactivity. Clicking the watch star in any topic titlebar failed with "Invalid token" in a pink errorbox, and in the browser console Net tab the API post returns error.code='badtoken'. My understanding is the API postWithToken() call should automatically request a new token. I clicked the skin's watch star at the top of the Flow board and its initial request also failed with badtoken, but as expected it issued a get for token, retried, and succeeded. Clicking Reply on a post did the same fail, get token, retry dance ending in success. The API response included warnings below, but it worked. "warnings": { "main":{ "*":"Unrecognized parameter: '_'"}, "tokens":{"*":"action=tokens has been deprecated. Please use action=query&meta=tokens instead."} }, Even after these successfully API requests, clicking a titlebar watch star continues to fail with "Invalid token" because Flow continues to make API post requests with the old wrong watch token. The workaround for a user is to reload the Flow board. -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
