Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-733

Shouldn't use scripting extensions to get class name

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.3
    • None
    • Cocoa - Library
    • None
    • iPhoneOS

    • Patch Available

    Description

      For logging purposes, [THTTPClient flush] calls className on the response object returned by NSURLConnection in the event of it being an unexpected class. The className method comes from the Cocoa scripting extensions which are not available in the iPhoneOS environment. The solution is to use NSStringFromClass() instead. See attached patch.

      Attachments

        1. classname.patch
          0.7 kB
          Aaron Haney

        Activity

          People

            geechorama Andrew McGeachie
            ahaney Aaron Haney
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: