WO5.2.1 Custom error response broken with direct actions on deployment only.
WO5.2.1 Custom error response broken with direct actions on deployment only.
- Subject: WO5.2.1 Custom error response broken with direct actions on deployment only.
- From: "B. Olav Anderson" <email@hidden>
- Date: Tue, 11 Nov 2003 18:37:04 -0800
I found an interesting problem with deploying on 5.2.1
I override WOApplication handleException(Exception e, WOContext c)
in my Application object to display a nice error page.
Incidentally, the app I'm developing is all direct action based.
When I'm in development mode everything works great. I get an error and
my error page shows
up nicely explaining something bad happened and the users can go on
their merry way.
But, once I deploy the app the it seems the handleException() method
does not get called and the resulting page is a message: "Your request
produced an error."
This seems to only happen with direct actions.
I went to a few sites that use direct actions like:
https://appleseed.apple.com/cgi-
bin/WebObjects/SeedPortal.woa/wa/toLoginPa
truncating the request from "toLoginPage" to "toLoginPa" results in the
same error I have
been experiencing.
This too:
http://www.seminars.apple.com/cgi-
bin/WebObjects/ASPRegistration.woa/wa/eventsBySta
should be "eventsByState"
I can reproduce it on the FrontBase website and a bunch more.
So it seems to be a problem through out.
Has anyone got a fix for this?
Thanks in advance.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.