SFDX force:source:push command fails on History Tracking
Last updated 2018-10-31 ·Reference W-4646810 ·Reported By 114 users
When History Tracking is enabled in a scratch Org on a standard object and/or standard field that metadata change is not pulled down with a force:source:pull.
Result is that History tracking changes cannot be pushed to another Scratch Org.
Pre-requisites: Please make sure your Salesforce DX environment has been setup properly as per the following documentation:
1) Create a scratch org
2) Create a Custom Field on the Account Object
3) Click the "Set History Tracking" button on the "Account Fields" Page
4) Enable "Track History" for this new field
5) Pull the source down
6) Create a new scratch org
7) Try to push the source
Actual Result: Error Message in command console
You get the following error
PROJECT PATH ERROR
N/A The entity: Account does not have history tracking enabled (3:13)
The push command should succeed.
Reported By (114)
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.