Description

Following a click on 'Save Changes' the user would usually wait (up to 10 seconds) for the normal read-only view to appear. However, if they are impatient and hit another button e.g. Preview, then the page is deleted from the wiki. It is possible to restore the page by reverting to a previous revision.

The clients/users are on Win2K with IE6. I have reproduced this with Windows Vista client and IE. I have been unable to re-produce it with Firefox on Linux.

Steps to reproduce

  1. Open a page for editing.
  2. Make a change to some text.
  3. Click 'Save Changes'.
  4. Before the web page has a chance to refresh (back to read-only view), hit the 'Preview' button.
  5. The preview page may be displayed empty. Press cancel.
  6. Go back to the wiki. Try to navigate to the page you tried to edit. The page no longer exists.
  7. Go to Revision History and restore a previous version of your page.

Example

Component selection

Details

MoinMoin Version

1.8.1

OS and Version

Ubuntu 8.04

Python Version

2.5.2

Server Setup

Apache2 with mod wsgi

Server Details

Language you are using the wiki in (set in the browser/UserPreferences)

English

Workaround

Instruct users not to hit another button after 'Save Changes'.

Discussion

Which editor do you use? What complicated stuff is on the page that it needs 10 seconds to be stored? Does it happen in this wiki too?

It happens using both text and GUI editors. A little more info: After pressing 'preview' during a save, I get the preview page (empty) with the message "Someone else deleted this page while you were editing!"

There is just plain text. I don't know why it takes so long to refresh. I had put it down to the network, Windows and IE. I have another laptop with Ubuntu/Firefox on the network, and that responds almost immediately.

I tried the same on the WikiSandBox page on this wiki, but it didn't happen. Instead it thinks that someone else edited while I was and asks to review again before saving without losing any data.

Well, if it is not happening here, maybe try an upgrade to 1.8.2 or to the current repository version (this wiki is running the repo version).

Hmm, it didn't happen for all combinations of your browsers which beforehand gives that failure on your wiki setup here or do I get this wrong?. Do you have some proxies between your browsers and your wiki?

Plan


CategoryMoinMoinBug

MoinMoin: MoinMoinBugs/ErroneousPageDeletionFollowingSave (last edited 2009-03-14 20:48:31 by ReimarBauer)