• 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
Old 5.2.1 Bug
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Old 5.2.1 Bug


  • Subject: Old 5.2.1 Bug
  • From: Jeffrey Simpson <email@hidden>
  • Date: Mon, 3 May 2010 13:03:01 -0400
  • Acceptlanguage: en-US
  • Thread-topic: Old 5.2.1 Bug

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

  • Follow-Ups:
    • Re: Old 5.2.1 Bug
      • From: Guido Neitzer <email@hidden>
  • Prev by Date: Re: [Success] Eclipse/WOLips Development IP change and now "can't find server"
  • Next by Date: Re: Old 5.2.1 Bug
  • Previous by thread: [OT] WOShowcase
  • Next by thread: Re: Old 5.2.1 Bug
  • Index(es):
    • Date
    • Thread