[Moin-user] User Says Page Edits Are Not Always Saved

Roger Haase crosseyedpenguin at yahoo.com
Thu Jun 28 16:40:49 EDT 2007


One thought I had was that my user was hitting the Cancel button
instead of the Submit button.  A closer inspection of the log data
indicates she hit the Submit button.

If I edit a wiki page, update it, and save it; and then edit the page
and hit cancel, the difference in the response length to the two POSTs
is 49 bytes.  This is the difference between the length of the two
status messages:

 Edit was cancelled.
 Thank you for your changes. Your attention to detail is appreciated.

If I then edit the page and click Save without changing anything, the
difference in the response length is 21 bytes, which is the difference
between the length of the messages:

 You did not change the page content, not saved!
 Thank you for your changes. Your attention to detail is appreciated.

Matching the Apache log against the wiki page info timestamps shows 4
of the POSTs that did not update the wiki page had a response length
difference of 21 bytes, indicating moin said the page was not changed. 
To confuse things a bit, there was a 5th instance of a POST without a
wiki page update that had a difference of 20 bytes, and a 6th with a
difference of 19 bytes.

Googling for some IE related issues, I found some interesting comments
about updating textareas with only use of paste rather than keying. 
But the instances I found all seemed to include other special
circumstances.

Up to last night, my system was Moin 1.5.6 (now 1.5.8), Apache with
mod_python on Fedora Core 6.  My user is remote to the server and is
running IE 6 on W/XP.  I don't think my user has SP2 installed.  I know
she sometimes pastes text from MS Word documents.  

Roger Haase


--- Rick VanDerveer <rickvanderveer at yahoo.com> wrote:

> We have the exact same issue here, except that it's not just one
> user, it's everyone in the organization!
> 
> Of course, I've tested this with IE on http://moinmoin.wikiwikiweb.de
> and am unable to duplicate this problem.  Yet, it's consistant on our
> site.  Are you using Domain Authentication, by chance?  It's the only
> thing I can think of that's different from my site and the moinmoin
> site.
> 
> It's extremely annoying, yet I'm unsure how to isolate it so that I
> can identify the specific problem.  My workaround is to tell everyone
> to use Firefox when they need to edit the site (in and of itself, not
> a bad thing-- I prefer everyone use Firefox anyway.  But, this isn't
> always practical and I'm constantly faced with people forgetting and
> asking me why the wiki is broken).
> 
> -Rick
> 
> 
> -----Original Message-----
> From: moin-user-bounces at lists.sourceforge.net on behalf of Roger
> Haase
> Sent: Tue 6/26/2007 5:48 PM
> To: moin-user at lists.sourceforge.net
> Subject: [Moin-user] User Says Page Edits Are Not Always Saved
>  
> I have a user that has complained several times that her page edits
> are
> not always being saved.  She is using IE 6 on Windows/XP.  Other than
> continuing to use IE 6 she seems lucid enough -- she can tell me the
> phrase that was keyed in and not saved.  Last night she sent me an
> email when she noticed the problem while editing a large (50,000
> character) document.
> 
> Looking through the apache logs I found 2 instances where there were
> two consecutive POSTs without an intervening GET.  Her email is
> timestamped a minute before the second instance.  In both instances,
> the length of the page sent in response to the GETs before and after
> are the same.  Curiously, the first POST comes just a few seconds
> after
> the preceding GET. An edited log summary is at the end of this
> message
> -- she tends to edit, make a few changes, save.  There were 24
> revisions over the course of the evening.
> 
> I thought that maybe IE 6 could reuse the GET results from its cache
> in
> some circumstances.  I have access to a desktop system with a similar
> configuration (IE 6 on Windows/XP), so I tried to reproduce the
> problem: 
> 
> 1. Edit, Save quickly with no changes, edit, save with a small
> change.
> 
> 2. Edit, save with no changes, hit browser back button, save with a
> small change.
> 
> 3. Adjust the PC clock back 20 minutes, edit, save quickly with no
> changes, edit, save with a small change.
> 
> All of the above resulted in GET, POST, GET, POST sequences and my
> changes were always saved.  To my surprise, IE 6 issued a GET in
> response to hitting the browser back button in test #2 above.
> 
> 
> Question #1: Is there any reason Moin would not save a page in
> response
> to an incoming POST other than "You did not change the page content,
> not saved!"?
> 
> Question #2: What sequence of events could could a user do to create
> two consecutive POSTs? >>> answer ,Preview, Spell Check, Cancel,...
> 
> 
> Roger Haase
> 
> 
> Response headers from a typical wiki page:
> ------------------------------------------
> Date: Tue, 26 Jun 2007 15:38:50 GMT
> Server: Apache/2.2.3 (Fedora)
> Set-Cookie: MOIN_ID=1062884501.06.2584; Domain=/; expires=Wednesday,
> 27-Jun-07 03:38:50 GMT; Max-Age=43200; Path=/;
> Cache-Control: no-cache
> Expires: Mon, 26 Jun 2006 15:38:50 GMT
> Vary: Cookie,User-Agent,Accept-Language
> Pragma: no-cache
> Keep-Alive: timeout=15, max=97
> Connection: Keep-Alive
> Transfer-Encoding: chunked
> Content-Type: text/html;charset=utf-8
> 
> 200 OK
> 
> 
> Edited Apache log from user session - consecutive Posts marked with
> ###
> -------------------------------------------------
> 69.92.199.173 - - [25/Jun/2007:14:49:08 -0700] "GET
> /drawiki/SurveyReport/RefNbr0060?action=edit&editor=text HTTP/1.1"
> 200
> 48481 "
> 69.92.199.173 - - [25/Jun/2007:15:13:08 -0700] "POST
> /drawiki/SurveyReport/RefNbr0060 HTTP/1.1" 200 113263 "
> 
> 69.92.199.173 - - [25/Jun/2007:15:15:52 -0700] "GET
> /drawiki/SurveyReport/RefNbr0060?action=edit&editor=text HTTP/1.1"
> 200
> 48490 "
> 69.92.199.173 - - [25/Jun/2007:15:18:31 -0700] "POST
> /drawiki/SurveyReport/RefNbr0060 HTTP/1.1" 200 113121 "
> 
> 69.92.199.173 - - [25/Jun/2007:15:20:04 -0700] "GET
> /drawiki/SurveyReport/RefNbr0060?action=edit&editor=text HTTP/1.1"
> 200
> 48493 "
> 69.92.199.173 - - [25/Jun/2007:16:36:11 -0700] "POST
> /drawiki/SurveyReport/RefNbr0060 HTTP/1.1" 200 114429 "
> 
> 69.92.199.173 - - [25/Jun/2007:16:36:49 -0700] "GET
> /drawiki/SurveyReport/RefNbr0060?action=edit&editor=text HTTP/1.1"
> 200
> 49493 "
> 69.92.199.173 - - [25/Jun/2007:16:57:11 -0700] "POST
> /drawiki/SurveyReport/RefNbr0060 HTTP/1.1" 200 114663 "
> 
> 69.92.199.173 - - [25/Jun/2007:16:57:37 -0700] "GET
> /drawiki/SurveyReport/RefNbr0060?action=edit&editor=text HTTP/1.1"
> 200
> 49625 "
> 69.92.199.173 - - [25/Jun/2007:16:58:35 -0700] "POST
> /drawiki/SurveyReport/RefNbr0060 HTTP/1.1" 200 114642 "
> 
> 69.92.199.173 - - [25/Jun/2007:16:58:41 -0700] "GET
> /drawiki/SurveyReport/RefNbr0060?action=edit&editor=text HTTP/1.1"
> 200
> 49625 "
> 69.92.199.173 - - [25/Jun/2007:17:15:32 -0700] "POST
> /drawiki/SurveyReport/RefNbr0060 HTTP/1.1" 200 115252 "
> 
> 69.92.199.173 - - [25/Jun/2007:17:16:17 -0700] "GET
> /drawiki/SurveyReport/RefNbr0060?action=edit&editor=text HTTP/1.1"
> 200
> 50071 "
> 69.92.199.173 - - [25/Jun/2007:18:18:15 -0700] "POST
> /drawiki/SurveyReport/RefNbr0060 HTTP/1.1" 200 116852 "
> 
> 69.92.199.173 - - [25/Jun/2007:18:28:15 -0700] "GET
> /drawiki/SurveyReport/RefNbr0060?action=edit&editor=text HTTP/1.1"
> 200
> 50879 "
> 69.92.199.173 - - [25/Jun/2007:18:33:02 -0700] "POST
> /drawiki/SurveyReport/RefNbr0060 HTTP/1.1" 200 116875 "
> 
> 69.92.199.173 - - [25/Jun/2007:18:33:11 -0700] "GET
> /drawiki/SurveyReport/RefNbr0060?action=edit&editor=text HTTP/1.1"
> 200
> 50902 "
> 69.92.199.173 - - [25/Jun/2007:18:36:24 -0700] "GET
> /drawiki/SurveyReport/RefNbr0060?action=edit&editor=text HTTP/1.1"
> 200
> 50902 "
> 69.92.199.173 - - [25/Jun/2007:19:19:58 -0700] "POST
> /drawiki/SurveyReport/RefNbr0060 HTTP/1.1" 200 117852 "
> 
> 69.92.199.173 - - [25/Jun/2007:19:21:07 -0700] "GET
> /drawiki/SurveyReport/RefNbr0060?action=edit&editor=text HTTP/1.1"
> 200
> 51325 "
> 69.92.199.173 - - [25/Jun/2007:19:56:01 -0700] "POST
> /drawiki/SurveyReport/RefNbr0060 HTTP/1.1" 200 117162 "
> 
> 69.92.199.173 - - [25/Jun/2007:19:56:10 -0700] "GET
> /drawiki/SurveyReport/RefNbr0060?action=edit&editor=text HTTP/1.1"
> 200
> 51480 "
> 69.92.199.173 - - [25/Jun/2007:20:33:24 -0700] "POST
> /drawiki/SurveyReport/RefNbr0060 HTTP/1.1" 200 116820 "
> 
> 69.92.199.173 - - [25/Jun/2007:20:35:01 -0700] "GET
> /drawiki/SurveyReport/RefNbr0060?action=edit&editor=text HTTP/1.1"
> 200
> 51239 "
> 69.92.199.173 - - [25/Jun/2007:21:02:41 -0700] "POST
> /drawiki/SurveyReport/RefNbr0060 HTTP/1.1" 200 116997 "
> 
> 69.92.199.173 - - [25/Jun/2007:21:02:53 -0700] "GET
> /drawiki/SurveyReport/RefNbr0060?action=edit&editor=text HTTP/1.1"
> 200
> 51434 "
> 69.92.199.173 - - [25/Jun/2007:21:31:59 -0700] "POST
> /drawiki/SurveyReport/RefNbr0060 HTTP/1.1" 200 117352 "
> 
> 69.92.199.173 - - [25/Jun/2007:21:32:08 -0700] "GET
> /drawiki/SurveyReport/RefNbr0060?action=edit&editor=text HTTP/1.1"
> 200
> 51457 "
> 69.92.199.173 - - [25/Jun/2007:21:32:21 -0700] "POST
> /drawiki/SurveyReport/RefNbr0060 HTTP/1.1" 200 157421 "
> #### above POST is 13 seconds after get
> 69.92.199.173 - - [25/Jun/2007:21:35:43 -0700] "POST
> 
=== message truncated ===



       
____________________________________________________________________________________
Moody friends. Drama queens. Your life? Nope! - their life, your story. Play Sims Stories at Yahoo! Games.
http://sims.yahoo.com/  




More information about the Moin-user mailing list