MoinMoinBugs/MoinMoinBugs/DoubleClickOfSaveChangesButtonDeletesPage

Description

I installed DesktopEdition at my locale network which consist few computers. I clicked "Save changes" (at the computer different from moinmoin installed one) button once and click it again before page was loaded up. I got an error "Page could not get locked. Missing 'current' file?". And after that I found that this page was deleted (it has deleted status and was deleted). The error would not appear if don`t click the button twice. I would like to know how I can make pages undeletable on double (repeated) clicking of "Save changes" button.

Steps to reproduce

  1. Install and configure DesktopEdition (just changed "interface" to , actually). , port = 8080 Language you are using the wiki in: Japanese

  2. Connect to moinmoin wiki page from another local network computer.
  3. Change one of a page (I tryed IE and Firefox)
  4. Click "Save changes" button once and click it again.

MoinMoin Version: 1.8.4 OS and Version: Windows XP Professional SP 2 Python Version: 2.5.4 Server Setup: interface =

Workaround

After this happens the above error displayed each time I tryed to change any page. So I deleted folder of deleted page at MoinMoinWiki\wiki\data\pages and after that it becomes possible to change pages again. Not a good desicion but it works at least so would use it before find better.

Discussion

check if you have an edit lock file in the page dir you edited.

Thank you for your answer. Yes, there is "edit-lock" file at the folder of the deleted file. When I delete this file and add "current" file to the folder I can reverse deleted page to the previous version at the wiki. So as result I lose only changes I was trying to save last time (when I clicked SaveChanges button twice). I can live with this but this is not too comfortable. If there is any resolve for this issue (DoubleClickOfSaveChangesButtonDeletesPage) would be happy to know.

By the way. Sorry, it is my fault for bad explaning. Before I asked here I searched the net and this wiki for at least half of day. I have found that 1) "current" file at any folder don`t consist "-locked" in its name 2) I have no any folders or files named "username" or "MoinEditorBackup" at all.

By the way 2. This problem happenes when there is a pause before first and second click of SaveChanges button like a second or longer. When I click button twice very quickly there is no any problem with saving.

My filesystem is NTFS. If timestamp is what writed at "edit-log" file then I get a one new timestamp (like 1246434431215829 00000003 SAVE....) even if clicked few times. Altering a file means saving changes by SaveChanges button, right?

I have also found that my time and server time is no the same. May it relate?

This bug is still there in the 1.9.3 release. Also, only seems to be occurring in the desktop edition - will test some more and update thread.

Plan

CategoryMoinMoinBug

MoinMoin: MoinMoinBugs/DoubleClickOfSaveChangesButtonDeletesPage (last edited 2011-01-19 20:24:36 by AkshatKumar)