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

ACA and APM being downloaded everytime when lastUpdateCheckTiDownloads has expired

    Details

    • Type: Bug
    • Status: Closed
    • Priority: None
    • Resolution: Fixed
    • Affects Version/s: Release 6.0.0
    • Component/s: Core, Titanium
    • Labels:
    • Environment:

      OS: Mac OS X 10.11.6
      Appc core: 6.0.0-58
      Appc NPM: 4.2.8-8
      Ti SDK: 6.0.0.v20161013072802

    • Severity:
      Major
    • Story Points:
      3
    • Sprint:
      2016 Sprint 21 Tooling

      Description

      Description

      When building an application in an enterprise org, when lastUpdateCheckTiDownloads has expired I am always seeing ACA and APM modules downloaded.

      After placing some console logs I believe the reason that these modules are always downloaded is because the CLI is checking for the iOS modules in /Users/eharris/Library/Application Support/Titanium/modules/iOS/com.appcelerator.apm and /Users/eharris/Library/Application Support/Titanium/modules/iOS/com.appcelerator.aca, because these folders aren't fuond the CLI returns null for the iOS module version on the system and decide to download a new one, related code is found here

      It may be that the payload data from 360 is incorrect as that is where the platforms are sourced from I believe

      This happens on both run and new

      Steps to reproduce
      1. Login to an enterprise org in preprod
      2. appc config set lastUpdateCheckTiDownloads null
      3. appc run -p ios -l trace --build-only
      Actual result

      ACA and APM are downloaded every time, CLI is checking incorrect location for iOS module

      Expected result

      ACA and APM should not be downloaded every time, CLI should check for correct locations

        Attachments

          Activity

            People

            • Assignee:
              fmiao Feon Sua Xin Miao
              Reporter:
              eharris Ewan Harris
              Reviewer:
              Jared De La Cruz
            • Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Git Source Code