Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-18971

iOS: HTTPClient - If you make a DELETE REST call, then HTTPClient's onload method is not called


    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Invalid
    • Affects Version/s: Release 4.0.1
    • Fix Version/s: None
    • Component/s: iOS
    • Environment:

      Appcelerator Studio, build:
      Appc CLI NPM: 4.0.0
      Appc CLI Core: 4.0.1
      SDK: 4.0.1.v20150529150210
      Xcode: 6.3.2
      Device: iphone 5 (8.1)
      Node: v0.10.36
      OS: Yosemite (10.10.3)


      Details: If you make a valid DELETE REST call, then HTTPClient's onload method is not called.


      • This issue is not reproducible on Android
      • Even though the onload method is not being called, the DELETE request still goes through
      • Other Http REST calls (e.g. POST) are triggering HTTPClient's onload method

      Steps to reproduce:

      1. Create a Titanium and Arrow project from Appc Studio
      2. In the Titanium project, replace the app.js with the attached app.js
      3. Next, select the Arrow project and run Local Arrow Server
      4. In the console, copy the port number after
      5. In the Titanium project's app.js, replace URL_PREFIX (line 2) with your machine's ip address and Arrow project's port number e.g.
      6. In the same app.js file, replace API_KEY (line 8) with your Arrow project's apikey_development; <ARROW_PROJ>/conf/default.js
      7. Next, install your Titanium project to an iOS device; make sure the device is on the same wifi network as your machine
      8. Open the app and press 1. Create; wait for CREATED MONKEY LORD alert
      9. Next, press 2. DELETE

      Actual: The onload method is never called i.e. DATA DELETED alert is never triggered in the onload method.

      Expected: The onload method should be called if a valid DELETE Http REST called is made.




            • Assignee:
              hknoechel Hans Knöchel
              wluu Wilson Luu (Inactive)
            • Watchers:
              0 Start watching this issue


              • Created:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  Sync status:
                  Last received:
                  Last sent:

                  Git Integration