[Moin-user] Persistent loss of edits

Roger Haase crosseyedpenguin at yahoo.com
Thu Sep 20 15:51:27 EDT 2007


--- Bob Jackson <bobj at soc.duke.edu> wrote:


> 
> It is relevant to note that I do all of my editing in Moin with the
> text 
> editor and the loss of edits problem has occurred consistently.  I do
> not 
> use the FCKeditor.
> 
> The problem occurs regularly for me simply by waiting approximately 5
> or 
> more minutes between a preview or save changes operation.  If I keep 
> previewing every 3-4 minutes during a long edit, that seems to
> preserve 
> the content.  Clearly something times out on me otherwise.
> 
> Interestingly it is noted in
> http://moinmoin.wikiwikiweb.de/FCKeditor:
> 
> "The general rule I would use is... if the problem occurs without
> leaving 
> the editor, then it is an FCKeditor issue. If the problem involves 
> entering or leaving the editor (saving, previewing, cancelling,
> etc.), or 
> displays incorrectly when you first enter the GUI editor, it may be a
> 
> MoinMoin issue."
> 

My user who experienced edit losses also uses the text editor. I have
no idea where the bug is (I personally have never noticed the loss of
edits), but a thought is it is somewhere in the Javascript -- maybe
overlapping global names, event handlers that somehow interfere with
each other, something else?  Whatever it is, some weird event may be
causing a form or element reset when the form is submitted.  The
original thought was that if I could prevent all of the GUI related
Javascript from loading the problem might go away.

However, unless I did something else wrong, forcing use of only the
text editor doesn't prevent all the GUI related Javascript from
loading. 

With the Firefox "Web Developer" addon extension installed, doing a
Tools>Web Developer>Information>View Javascript shows that there are
some GUI related functions loaded even when only the text editor is
being used.  

That your frequent use of preview seems to prevent the problem may be a
clue.  Are you using the default value for edit_locking?  The default
is  "warn 10" and there is a javascript timer event that changes a
message on the editor page.  But that code looks pretty harmless.

If you leave an edit hanging for 5 minutes before a submit, about how
consistent is the edit loss failure (in percent)?

Roger Haase
 



       
____________________________________________________________________________________
Need a vacation? Get great deals
to amazing places on Yahoo! Travel.
http://travel.yahoo.com/




More information about the Moin-user mailing list