During Unlocked package install: RecordType upsert is failing to resolve non-packaged picklist.
Last updated 2020-09-14 ·Reference W-6163728 ·Reported By 7 users
Unlocked package installs/upgrade fails on RecordType upsert to resolve non-packaged picklist.
1) Create Unlocked package with namespace.
1.a) Create package version containing a RecordType on the Contact object.
2) Create scratch org without a namespace.
3) In org from #2 create picklist with __c suffix (e.g. Level__c) on standard object (e.g. Contact).
4) Install package from 1.a.
Error message : Message: [Contact.Test_Type: Global value set 'Level__c' in record type 'Test Type' on the entity 'Contact' cannot be resolved: Contact.Test_Type: Global value set 'Level__c' in record type 'Test Type' on the entity 'Contact' cannot be resolved]
Remove RecordTypes from package, or remove __c picklists from install target Org
Is it Fixed?
Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.