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_version_create issue with unlocked packages #7166

Open
krishnakolluneocol opened this issue Feb 16, 2023 · 0 comments
Open

package_version_create issue with unlocked packages #7166

krishnakolluneocol opened this issue Feb 16, 2023 · 0 comments

Comments

@krishnakolluneocol
Copy link

Hello,

I am executing the task "create_package_version" with "package_type" = "Unlocked"

There's a problem though the query that's generated to check if the package already exists or not.

The query -- which I debugged - is as follows:

SELECT Id, ContainerOptions FROM Package2 WHERE IsDeprecated = FALSE AND ContainerOptions='PackageTypeEnum.unlocked' AND IsOrgDependent=False AND Name='' AND NamespacePrefix=null

As you can see, it is passing in the "PackageTypeEnum.unlocked" value into ContainerOptions rather than just "unlocked". This is causing it to think there is no existing package, and try to create the package, which is failing because there is already a package with this name

CumulusCI version: 3.71.0

Krishna

@krishnakolluneocol krishnakolluneocol changed the title package_version_create package_version_create issue with unlocked packages Feb 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant