CumulusCI
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
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
- Add a package version starting with 0 (example starting with 0.3) for a package version that you know exists and is published
- Run a flow/task that triggers install (example
cci flow run dev_org) - 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
0as best I can tell. - I am able to install the same package version when I use
version_idinstead ofversionin.yml. - I am able to install the same package version when I use the Salesforce UI.
- Package I'm attempting to install has a
passwordwhich may have an impact.