Uploaded image for project: 'Appcelerator CLI'
  1. Appcelerator CLI
  2. CLI-1294

registry.handleResponse does not handle the code returned from a platform call

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: CLI Release 6.3.0, CLI Release 7.0.1
    • Component/s: None
    • Labels:
      None
    • Environment:

      Appc CLI: 7.0.1, 7.0.0, 6.3.0

    • Severity:
      Minor
    • Story Points:
      1
    • Sprint:
      2017 Sprint 26 Tooling

      Description

      Description

      In the appc.registry.handleResponse function of the appc-cli here, if there is an error it will return the body.id value to the function, however since the move to 360 this is no longer correct as it returns an object like {"message":"Application not registered.","code":"com.appcelerator.platform.app.notregistered","success":false}, we should probably do something like body.id || body.code so we return the correct response from 360.

        Attachments

          Activity

            People

            • Assignee:
              eharris Ewan Harris
              Reporter:
              eharris Ewan Harris
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Git Source Code