• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
RE: WO5.2.1 Custom error response broken with direct actions on deployment only.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: WO5.2.1 Custom error response broken with direct actions on deployment only.


  • Subject: RE: WO5.2.1 Custom error response broken with direct actions on deployment only.
  • From: "Ricardo T Saito" <email@hidden>
  • Date: Wed, 12 Nov 2003 18:43:38 -0300

Hi there,

Take a look at handleActionRequestError. There're some other handleXYZ in
the Application class.

Still, it does not work in 5.2.1(the app. freezes). Just a few days ago
someone posted a workaround but I didn't have time to test it.

----------------------------------------------------
Ricardo T Saito - email@hidden
Computer Engineer
Americanas.com - Sao Paulo - Brazil

-----Original Message-----
From: email@hidden
[mailto:email@hidden]On Behalf Of B. Olav
Anderson
Sent: Tuesday, November 11, 2003 11:37 PM
To: email@hidden
Subject: WO5.2.1 Custom error response broken with direct actions on
deployment only.


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.
_______________________________________________
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.

References: 
 >WO5.2.1 Custom error response broken with direct actions on deployment only. (From: "B. Olav Anderson" <email@hidden>)

  • Prev by Date: Re: "Your request produced an error"
  • Next by Date: No form data left for WOFileUpload!
  • Previous by thread: WO5.2.1 Custom error response broken with direct actions on deployment only.
  • Next by thread: Exceptions/Internal Server Error since upgrading to WO5.2.2
  • Index(es):
    • Date
    • Thread