[Zope] duplicate or 'echoing' REQUEST?

David Hassalevris bluepaul at earthlink.net
Tue Aug 31 18:08:03 EDT 2004


duplicate or 'echoing' REQUEST?Jim,
Your post poses a rather interesting question.  One that eliminates the logical conclusion: that multiple calls to, say, a zSQL method are attempting to add duplicate primary keys.
I have, therfore no idea other than to challenge your assertion that this has been eliminated as the culprit.
You might consider adding a Javascript function that does something like:

  function Process() {
      if document.forms[0].Clicked <> 1 {
          document.forms[0].Clicked = 1  
          document.forms[0].submit();
      }
  }


I've run into this, that was the solution.

Best luck,
David



  ----- Original Message ----- 
  From: Jim Abramson 
  To: zope at zope.org 
  Sent: Tuesday, August 31, 2004 1:35 PM
  Subject: [Zope] duplicate or 'echoing' REQUEST?


  Hi there, 

  Running 2.6.0 we have a curious intermittent syndrome involving what we _suspect_ to be multiple identical incoming POST requests.

  To be honest, this could be any number of things happening.however the most obvious one (user clicking submit twice on the same form) has been eliminated, after quite a bit of testing on various browsers (clicking submit as many times as possible before the current html page/form "leaves" does not reproduce the issue).

  The problem ends up manifesting with unique-key violations from the external rdbms, where it's trying to update or insert some row twice in succession.  Or, more annoyingly, quiet double-insertion of some submitted data.

  Before we turn zope upside down and shake the hell out of it, has anyone out there experienced a similar situation, or know of a programming or configuration error that might lead one to expect this behavior?

  Thanks for any advice, 

  Jim 





------------------------------------------------------------------------------


  _______________________________________________
  Zope maillist  -  Zope at zope.org
  http://mail.zope.org/mailman/listinfo/zope
  **   No cross posts or HTML encoding!  **
  (Related lists - 
   http://mail.zope.org/mailman/listinfo/zope-announce
   http://mail.zope.org/mailman/listinfo/zope-dev )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20040831/67b5c3b8/attachment.htm


More information about the Zope mailing list