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

Shouldn't use scripting extensions to get class name

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment