Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Julian88Tex opened this issue May 7, 2024 · 1 comment
Labels

Comments

@Julian88Tex
Copy link
Contributor

Julian88Tex commented May 7, 2024

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 Julian88Tex added the bug label May 7, 2024
@RBLopez-BTH
Copy link

I'm seeing this with a package that does not have a password

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants