Page MenuHomePhabricator

VisualEditor:Cannot save the content of a page after an idle time on the open editor
Closed, ResolvedPublic

Description

Steps to reproduce:

1.Open the VE editor for a page.
2.Make some edit
3.Leave the editor open for a long time (more than an hour)
4.Come back after that idle time and click the button "Save Page"

Observed Result:
The content does not get saved.Shows a js error in the console

Uncaught TypeError: Cannot read property 'saveRetries' of undefined
(anonymous function)
fire load.php:12
self.fireWith load.php:14
self.fire load.php:14
(anonymous function)
fire load.php:12
self.fireWith load.php:14
done load.php:119
callback


Version: unspecified
Severity: normal

Details

Reference
bz57314

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:27 AM
bzimport set Reference to bz57314.

Test Environment: production
Browser: Chrome Version 26.0.1410.65 & FF 25
OS: MAC OS X 10. 8. 5
Example Page:https://en.wikipedia.org/wiki/User:RYasmeen_%28WMF%29/test_reference

I am curious about how different this is from the common behavior with the wikitext editor, which will usually display a message like "Sorry! We could not process your edit due to a loss of session data. Please try again. If it still doesn't work, try logging out and logging back in." (not sure if this is the actual one though) and which "fixes" itself if you just retry to save.

nshahquinn-wmf set Security to None.