Re: "You backtracked too far" error after closing AjaxModalDialog and clicking on a link on the page
Re: "You backtracked too far" error after closing AjaxModalDialog and clicking on a link on the page
- Subject: Re: "You backtracked too far" error after closing AjaxModalDialog and clicking on a link on the page
- From: Chuck Hill <email@hidden>
- Date: Tue, 12 Jul 2011 14:53:51 -0700
On Jul 12, 2011, at 2:45 PM, Ricardo J. Parada wrote:
>
> On Jul 12, 2011, at 4:52 PM, Chuck Hill wrote:
>
>> Hi Ricardo,
>>
>> On Jul 12, 2011, at 1:35 PM, Ricardo J. Parada wrote:
>>>
>>> Does anybody have an idea what could be causing this problem? The user clicks on an AjaxModalDialogOpener which opens the dialog. Then the user does a whole bunch of stuff in the dialog that involves many clicks
>>
>> Does it still happen if they don't make so many clicks?
>
> If they make a few clicks then it works okay.
>
>
>>> then finally clicks a DONE link to close the dialog.
>>
>> Are all of these links and clicks Ajax actions?
>>
>
> Yes, they are clicking on links generated by AjaxSubmitButton components to be exact. :-)
And you are certain that there are no /wo/ or /wa/ requests mixed in here?
>>> The dialog has a closeUpdateContainerID bound with the id of an ajax update container to refresh, which it does refresh upon closing the dialog. But then the user clicks on a link on the page that is outside the refreshed AjaxUpdateContainer and the app displays the error "You backtracked too far. The application backtracking limit of 30 has been exceeded."
>>
>> Ajax links or regular component actions links? I do what seems to be the same thing (except maybe the "does a whole bunch of stuff in the dialog") and have not had any problems.
>>
>
> They are regular component action links. The context ID for which the page is being restored is 22.
The original URL is 21?
>> The key to tracking this down is to know if it is the Ajax or the regular page cache that is missing the component.
>>
>
> I'm stepping through the restorePageForContextID() in ERXAjaxSession.java but I'm not sure what to look for.
Sorry, I just meant if the URL that caused the error was a /ajax/ or /wo/ URL. It sounds like a /wo/ URL so that suggests to me that something in your dialog is generating /wo/ or /wa/ requests that are pushing the page out of the standard page cache.
Chuck
--
Chuck Hill Senior Consultant / VP Development
Come to WOWODC this July for unparalleled WO learning opportunities and real peer to peer problem solving! Network, socialize, and enjoy a great cosmopolitan city. See you there! http://www.wocommunity.org/wowodc11/
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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