Yes, as far as I'm aware this is still true.

Take care,
Guido

On 3. May, 2010, at 10:03 , Jeffrey Simpson wrote:

> I am upgrading my application to 5.4.  I came across the following statement 
> in my Application class:
> 
>   /**
>    * All interaction with the application starts here. This is the outermost 
> call we
>    * interact with. There is a bug in WO through at least 5.2.1 that allows 
> throwing of
>    * an exception during a direct action to leave the session checked out and 
> not checked back
>    * in. This dispatchRequest uses customDispatchRequest to overcome this 
> problem.
>    *
>    * @param aRequest This is what the WebServer adaptor built for us it is
>    *     mainly the URL and data that came in.
>    */
>        @Override
>   public WOResponse dispatchRequest(WORequest aRequest){
> 
> 
> Is it still true?
> 
> Here is a related comment:
> 
>  /**
>    * This code wraps the super version of createContextForRequest to
>    * work around a WO bug with exceptions during direct actions.
>    * The problem is exception occuring during a direct action could cause
>    * the session to be checked out and not checked back in.
>    * This code is derived from
>    * 
> http://wocode.com/cgi-bin/WebObjects/WOCode.woa/wa/ShareCodeItem?itemId=322
>    *
>    * @param request The request that a context is being created for.
>    */
>        @Override
>   public WOContext createContextForRequest(WORequest request) {
> 
> 
> 
> Jeffrey Simpson
> Senior Software Engineer
> Telephone: 240.235.2144
> Fax: 240.235.2174
> [email protected]
> 
> Youth For Understanding (YFU) prepares young people for their 
> responsibilities and opportunities in a changing, interdependent world.
> _______________________________________________
> 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/guido.neitzer%40gmail.com
> 
> This email sent to [email protected]

 _______________________________________________
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