Re: WOLongResponse Page Kills Main Thread
Re: WOLongResponse Page Kills Main Thread
- Subject: Re: WOLongResponse Page Kills Main Thread
- From: Lachlan Deck <email@hidden>
- Date: Tue, 29 Jan 2008 14:35:17 +1100
On 29/01/2008, at 1:12 PM, Jonathan Miller wrote:
I have a very perplexing problem.
I have a simple shopping cart. After the user enters their
information into the payment form the request to authorize the
payment is sent to a WOLongResponsePage.
Inside the performAction method is a switch statement. On two of
the cases the WOLongResponse behaves normally and returns the
result page. On the other hand on only one of the cases it goes
through all the business logic of that case (even a simple logging
statement called right before the break) but then does not fire the
pageForResult method. The return for performAction is put outside
the switch statement.
Not only does the pageForResult action not get called by the
WOLongResponse totally hangs and craps out the main thread and I
get the dreaded "no instance is available" message in a blank html
page.
There are no error messages. Everything works normally in
development mode. This is my first WONDER application, is there
anything I should be aware of when using WOLongResponse and WONDER?
You're not using the editing context of the object given to
WOLongResponse are you? Give it a globalId or something and fault it
into a new ec and see how you go.
with regards,
--
Lachlan Deck
_______________________________________________
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