NPSP
NPSP copied to clipboard
package_version_create issue with unlocked packages
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='
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