On Fri, May 22, 2009 at 10:32, Chuck Hill <[email protected]> wrote:
>
> On May 21, 2009, at 3:22 PM, Phillip Hutchings wrote:
>
>> On Thu, May 21, 2009 at 14:17, Chuck Hill <[email protected]>
>> 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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to