Record type not returned in sfdx force:source:pull when picklist field is added/deleted
Last updated 17 days ago ·Reference W-8982652 ·Reported By 1 users
In Review
Summary
When using sfdx force:source:pull after deleting a picklist field only the custom field is returned meaning the record type still references the deleted picklist field.
Repro
- Create a Scratch Org
- Create a record type on any object and then create a new picklist field.
- Pull everything (sfdx force:source:pull)
- Try to delete the picklist field.
- Do another Pull (sfdx force:source:pull) Notice that the field is deleted locally, but the Record Type is not pulled, and thus still reference the picklist field and values (field that doesn't exist anymore)
Workaround
Manually edit the record type and run sfdx force:source:pull again to return the updated recordtype
Reported By (1)
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.
