Re: WOAction returning current page instead of next page.
Re: WOAction returning current page instead of next page.
- Subject: Re: WOAction returning current page instead of next page.
- From: Phillip Hutchings <email@hidden>
- Date: Fri, 22 May 2009 11:23:57 +1200
On Fri, May 22, 2009 at 10:32, Chuck Hill <email@hidden> wrote:
>
> On May 21, 2009, at 3:22 PM, Phillip Hutchings wrote:
>
>> On Thu, May 21, 2009 at 14:17, Chuck Hill <email@hidden>
>> wrote:
>>>
>>> On May 20, 2009, at 4:13 PM, Phillip Hutchings wrote:
>>>
>>>> I'm having an interesting problem with a WO web application.
>>>
>>> Sort of like "May you live in interesting times"?
>>>
>>>
>>>> The application is stateful, and sometimes when submitting a form
>>>> instead of returning the result page it seems to skip over the action
>>>> handler completely. The page id in the URL increases as I expect, and
>>>> no action is taken on the database. The log output doesn't have
>>>> anything useful either.
>>>
>>> It might be something you are doing with validation or exception handling
>>> causing the action to be skipped (though I think you would notice that
>>> locally). It might mean that the action was for a component that is now
>>> in
>>> a conditional whose condition evaluates to false (or any other change in
>>> page state that might hide it.
>>
>> It seems a bit stranger than that. It looks as if the editing context
>> is getting locked. I must be doing something wrong, back to reading
>> the wiki I guess.
>
> What do you mean, "the editing context is getting locked"? The editing
> context should be locked. Do you mean deadlocked?
Yeah, deadlocked. I hadn't had my coffee.
I think I was misusing editing contexts. After rereading a few
articles on the virtues of peer editing contexts I think it's working
OK now.
--
Phillip Hutchings
http://www.sitharus.com/
_______________________________________________
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