Re: Old 5.2.1 Bug
Re: Old 5.2.1 Bug
- Subject: Re: Old 5.2.1 Bug
- From: Guido Neitzer <email@hidden>
- Date: Mon, 3 May 2010 10:12:00 -0700
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@hidden
>
> 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@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
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
References: | |
| >Old 5.2.1 Bug (From: Jeffrey Simpson <email@hidden>) |