• 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. Analyzing ERXRequests...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: You backtrack too far problem. Analyzing ERXRequests...


  • Subject: Re: You backtrack too far problem. Analyzing ERXRequests...
  • From: Gustavo Pizano <email@hidden>
  • Date: Mon, 21 Dec 2009 12:45:18 +0100

Hi all.. once again.. ME. :P.
I think in the html I have verified that no id's are repeated, problem still persist. 
I overwrote the method,  public WOResponse handleSessionRestorationErrorInContext(WOContext context) { to show a custom BackTrackingError page, but when the backtracking problem happens, nothing appears, also I set up a breakpoint inside the method and its not being called, i guess Im missing something else. Checking in JavaMonitor, after the user gets the you backtrack too much, I see that the sessions stays alive,  when he relogs again a new session is created, of course..

Im attaching the wocomponents that the user interacts with, also a screenshot, to give an idea of how it looks... sorry im not web designer, so far this is the best I have done... :S. So if somebody can help me find an error in the html will be great, if there is no "visible" error, then I can focus my efforts in the .java classes.

Thanks a LOT. :)

Gustavo

Attachment: Archive.zip
Description: Zip archive

PNG image





On Dec 18, 2009, at 2:38 PM, Gustavo Pizano wrote:

Ramsey thanks for the reply... Im gonna keep checking... 
Eventually 2 weeks ago Amedeo made me realize I had some repeated id for one of my AUC, then he suggested me to put the method that generates the id..'s  
I will keep searching.. and Im sure the problem its mine.. not blaming anybody but me.

I will invite Beer If I find the error...  :P.

Gustavo


On Dec 18, 2009, at 2:22 PM, Ramsey Lee Gurley wrote:


On Dec 18, 2009, at 3:18 AM, Gustavo Pizano wrote:

Then I click an AjaxSubmitButton which will update a "dummy AUC", this one will  onRefreshComplete update a AUC inside the Second AjaxSelectionList with a unique ID generated in the server side,

Hmmm... I'm not sure this is your problem Gustavo, but it might be worth checking.  Set breakpoints on your generated update container id methods server side.  Log them to the console if there are a lot.  Make sure your unique ids are really unique! (^_^)  I recently had a problem where there were two update containers inside an update container, and the first was in a WOConditional.  Something like

<AUC1>
<WOCond>
<AUC2/>
</WOCond>
<AUC3/>
</AUC1>

The problem I encountered was that my AUC2 was not being shown the first time, and the ID generated and cached using ERXStringUtilities.safeId...(context().elementID())  for AUC3 was the SAME as the value generated when AUC2 appeared!  My AUC2 had an ajax trigger in it to update AUC3 on refresh.  Since they both had the same ID, that caused AUC2 to spin out into an infinite loop, updating itself instead.  I've never seen a backtrack cache error as a result of an Ajax update though, so this may not be your problem. It took me forever to find this problem.  Be persistent.  You will find your problem too!

Ramsey


 _______________________________________________
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

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>)
 >Re: You backtrack too far problem. (From: Chuck Hill <email@hidden>)
 >Re: You backtrack too far problem. (From: Gustavo Pizano <email@hidden>)
 >Re: You backtrack too far problem. (From: Chuck Hill <email@hidden>)
 >Re: You backtrack too far problem. (From: Gustavo Pizano <email@hidden>)
 >Re: You backtrack too far problem. (From: Chuck Hill <email@hidden>)
 >Re: You backtrack too far problem. (From: Gustavo Pizano <email@hidden>)
 >Re: You backtrack too far problem. (From: Gustavo Pizano <email@hidden>)
 >Re: You backtrack too far problem. (From: Mike Schrag <email@hidden>)
 >Re: You backtrack too far problem. NUTS NUTS NUTS :( (From: Gustavo Pizano <email@hidden>)
 >Re: You backtrack too far problem. Analyzing ERXRequests... (From: Gustavo Pizano <email@hidden>)
 >Re: You backtrack too far problem. Analyzing ERXRequests... (From: Ramsey Lee Gurley <email@hidden>)
 >Re: You backtrack too far problem. Analyzing ERXRequests... (From: Gustavo Pizano <email@hidden>)

  • Prev by Date: Re: Learning Vertical Inheritance
  • Next by Date: Re: Can't create new project.
  • Previous by thread: Re: You backtrack too far problem. Analyzing ERXRequests...
  • Next by thread: Qualifier through relationship
  • Index(es):
    • Date
    • Thread