• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: You backtrack too far problem.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: You backtrack too far problem.


  • Subject: Re: You backtrack too far problem.
  • From: Chuck Hill <email@hidden>
  • Date: Thu, 3 Dec 2009 10:56:18 -0800


On Dec 3, 2009, at 10:49 AM, Mike Schrag wrote:

yeah, good point -- i think we have a safety net of 2 requests, but i seem to recall that if you can manage to trigger 3 requests for an update container before the first one comes back, you can get this to happen, except that wo blocks by session, which makes this pretty hard to actually pull off. not sure how you'd actually do it.

If I have time, I will dig into it when it happens again. I recall that the context ID was waaaaay off when this happened.



Chuck



ms

On Dec 3, 2009, at 1:27 PM, Chuck Hill wrote:

I've gotten them with Selenium tests were it was triggering actions faster than a user could. I did not look into it, but expect that things may have been happening out of order. Adding a 250ms or 500ms pause here and there fixed it.


On Dec 3, 2009, at 4:40 AM, email@hidden wrote:

You're the second person who has mentioned backtrack errors with new Ajax. Did something break? You should never get a backtrack error from an Ajax request.

Sent from my iPhone

On Dec 3, 2009, at 4:22 AM, "Gustavo Pizano"<email@hidden > wrote:

Hello all.

In my app I have so AjaxUpdateContainers which gets updated when pressing some AjaxSubmitButtons , (funny, :) ), now sometimes, when I, clicking the submit butons, I get the you backtrack too far exception, it happens randlmly, it can happen after clicking 10 times the button, or after clicking 5, or sometimes it doesn't even happen.

this is what Im doing at the end of the WOActionResult methods,


if (this.didBacktrack()){
session().defaultEditingContext().revert();
// handle and prepare to report errors
// this.errors.addObject("Unable to process page after back button was pressed.");
return this.context().page();
}


I read it somewhere in the wiki,  but it seems its not working..

Any suggestions.?

thanks

Gustavo

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

-- Chuck Hill Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects










_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

-- Chuck Hill Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects








_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: You backtrack too far problem.
      • From: Gustavo Pizano <email@hidden>
References: 
 >You backtrack too far problem. (From: Gustavo Pizano <email@hidden>)
 >Re: You backtrack too far problem. (From: email@hidden)
 >Re: You backtrack too far problem. (From: Chuck Hill <email@hidden>)
 >Re: You backtrack too far problem. (From: Mike Schrag <email@hidden>)

  • Prev by Date: Re: You backtrack too far problem.
  • Next by Date: Re: Dr. Miguel 'Optimistic Locking' Arroz [was Re: WebObjects stress Testing tool?]
  • Previous by thread: Re: You backtrack too far problem.
  • Next by thread: Re: You backtrack too far problem.
  • Index(es):
    • Date
    • Thread