[API Version 57.0] - Global Picklist bug during package version create #1933
Labels
area:packaging
investigating
We're actively investigating this issue
owned by another team
The Salesforce CLI team does not own this work but will pass on the information to the correct team.
Summary
When updating source API version to 57.0, package version create fails due to missing global picklist error. Perhaps related to this:
https://help.salesforce.com/s/articleView?id=release-notes.rn_api_global_value_set_suffix.htm&release=242&type=5
Steps To Reproduce:
Repository to reproduce: dreamhouse-lwc
"sourceApiVersion": "57.0",
in sfdx-project.jsonsfdx package create -n campaign -r campaign -t Unlocked -v myhuborg
with both global value set and picklist fieldssfdx package version create -p campaign -w 10 -x -v myhuborg -f config/project-scratch-def.json
sfdx package version create -p campaign-field -w 10 -x -v myhuborg -f config/project-scratch-def.json
Expected result
New version of campaign-field package successfully created.
Actual result
Package version create fails with the following error:
NB! Language bug is already listed in #1921
System Information
Additional information
When refering to global value set with the suffix in Test__c field as per the Spring 23 documentation above:
no error is thrown during package version creation of the campaign package. However, the same error is thrown when creating a new version of the campaign-field package. Although, sfdx deploy throws the following error when deploying the updated file with the suffix to a scratch org:
The text was updated successfully, but these errors were encountered: