CumulusCI icon indicating copy to clipboard operation
CumulusCI copied to clipboard

Package Versions Starting with 0 (0.1,0.2,0.3, etc.) Cause "does not exist" error When Referenced in cumulusci.yml Dependencies

Open Julian88Tex opened this issue 1 year ago • 1 comments

Describe the bug

When referencing a package for install in cumulusci.yml dependencies for a package version starting with 0 (e.g. 0.1, 0.2, 0.3, etc.), when attempting to install using a flow like dev_org or update_dependencies, install errors with a "does not exist" error:

    dependencies:
      - namespace: 'Intel_U4SFnCino'
        version: '0.2'

Error:

Error: Could not process MDAPI response: Update of InstalledPackage 
Intel_U4SFnCino: Error: InstalledPackage namespace: intel_u4sfncino does
not exist!

Reproduction steps

  1. Add a package version starting with 0 (example starting with 0.3) for a package version that you know exists and is published
  2. Run a flow/task that triggers install (example cci flow run dev_org)
  3. Wait for install step to begin

Result: Error display:

Error: Could not process MDAPI response: Update of InstalledPackage 
Intel_U4SFnCino: Error: InstalledPackage namespace: intel_u4sfncino does
not exist!

Expected Result: No error and package install with specified version.

Your CumulusCI and Python versions

CumulusCI version: 3.86.0 Python version: 3.10.0

Operating System

MacOS 14.4.1

Windows environment

No response

CumulusCI installation method

pipx

Error Gist

https://gist.github.com/Julian88Tex/db928dfcb7d60d20329b6b9fd34375a6

Additional information

  • I have not tried this with a direct command in CLI so I'm not sure if it is a .yml specific issue.
  • This issue does not occur with version that do not start with 0 as best I can tell.
  • I am able to install the same package version when I use version_id instead of version in .yml.
  • I am able to install the same package version when I use the Salesforce UI.
  • Package I'm attempting to install has a password which may have an impact.

Julian88Tex avatar May 07 '24 17:05 Julian88Tex