Visual Editor: session is not (re)started when entering edit mode
Closed, ResolvedPublic


When loading the visual editor, the session is not (re)started and it continues the one from when you opened the editor in read mode. When the session expires the edits cannot be saved ("Error: We could not process your edit because your session has expired.")

Normally this isn't a problem, except it's counter intuitive (and apparently counter to the way the source editor works) when a page has been open for an extended time prior to entering the edit mode as it apparently continues that session rather than starting a new one. Unlike in source editor (which does work after an extended period in read mode) there is no possibility of working around a session expiry by clicking save again - the page must be reloaded and the edit made again by hand.

Steps to reproduce:

  1. Open any VE-editable page in read mode
  2. Wait until the session expires*
  3. Launch the visual editor
  4. Make a change and attempt to save the page

*I don't know how long this is but I encountered the error on a page open for 625 minutes (10.4 hours).

Bug 50424 is possibly related, but the person who reported this issue on en.wikipedia doesn't think so.

Version: unspecified
Severity: normal


bzimport set Reference to bz51302.

This is the same problem as bug 50424; happily, we have code fixing this mostly done and we hope to have it deployed on Monday.

  • This bug has been marked as a duplicate of bug 50424 ***

Add Comment