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

CLI: Setup wizard throws an error while input is provided to iOS distribution certificate prompt.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Fixed
    • Affects Version/s: Release 3.0.0, Release 3.0.1, Release 3.1.0
    • Component/s: CLI
    • Environment:

      SDK version: 3.0.1.v20130111165328 , 3.1.0.v20130111163212, 3.0.0.GA
      CLI version : 3.0.22
      OS : MAC OSX 10.7.5
      XCode : 4.5.1

      Description

      Setup wizard prompts name of the iOS distribution certificate , provided the correct name , error comes stating "TypeError: Object true has no method 'trim'
      CLI: Setup wizard throws an error while input is provided to iOS distribution certificate prompt.

      Steps to reproduce:
      1. run "Titanium setup -a"
      2. Process till the prompt for iOS distribution certificate comes
      3. Provide the valid distribution certificate name.

      Actual result :
      An error is shown as follows

      /usr/local/lib/node_modules/titanium/node_modules/longjohn/index.js:111
      throw e;
      ^
      TypeError: Object true has no method 'trim'
      at exports.run (/usr/local/lib/node_modules/titanium/lib/commands/setup.js:310:42)
      at Array.forEach (native)
      at exports.run (/usr/local/lib/node_modules/titanium/lib/commands/setup.js:309:25)
      at prompt.get (/usr/local/lib/node_modules/titanium/node_modules/prompt/lib/prompt.js:317:32)
      at async.forEachSeries.iterate (/usr/local/lib/node_modules/titanium/node_modules/async/lib/async.js:116:25)
      at assembler (/usr/local/lib/node_modules/titanium/node_modules/prompt/lib/prompt.js:314:9)
      at prompt.get (/usr/local/lib/node_modules/titanium/node_modules/prompt/lib/prompt.js:323:32)
      at prompt.getInput (/usr/local/lib/node_modules/titanium/node_modules/prompt/lib/prompt.js:598:5)
      at Interface.onLine (/usr/local/lib/node_modules/titanium/node_modules/prompt/node_modules/read/lib/read.js:110:5)

      Expected Result :
      Setup wizard should successfully configure the iOS distribution certificate

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                cbarber Chris Barber
                Reporter:
                pmishra Paras Mishra
                Reviewer:
                Bryan Hughes
                Tester:
                Olga Romero
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

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

                    Git Integration