Follow these steps to reproduce:
- edit an existing plain wiki page in-place
- restart XWiki
- make some change in the in-place editor
- save & continue from the in-place editor => you get the modal telling you that the CSRF token is invalid => force the save
- then cancel => instead of getting the latest version of the document you get the previous version
Another problem can be seen with these steps:
- edit an existing plain wiki page in-place
- restart XWiki
- make some change in the in-place editor
- save & view from the in-place editor => you get the modal telling you that the CSRF token is invalid => force the save => instead of going to view mode you remain in edit mode; clicking Cancel shows the previous version, not the latest
|