See forcedotcom/cli#638.
-
Create a new scratch org using the scratch org definition file contained within this repository.
-
Log in to the scratch org and edit the
Value__c
field on theValue__c
object.
As you can see above, the Value__c
field has been pulled to the incorrect location.
D:\sfdx_projects\forcedotcom-issue-638-repro>sfdx force:source:push
Job ID | 0Af9D00000ELDZaSAP
SOURCE PROGRESS | ████████████████████████████████████████ | 2/2 Components
=== Pushed Source
STATE FULL NAME TYPE PROJECT PATH
───── ───────────────── ──────────── ──────────────────────────────────────────────────────────────────────
Add Value__c CustomObject force-app\main\default\objects\Value__c\Value__c.object-meta.xml
Add Value__c.Value__c CustomField force-app\main\default\objects\Value__c\fields\Value__c.field-meta.xml
D:\sfdx_projects\forcedotcom-issue-638-repro>echo Updated the description of Value__c.Value__c in the browser.
Updated the description of Value__c.Value__c in the browser.
D:\sfdx_projects\forcedotcom-issue-638-repro>sfdx force:source:status
=== Source Status
STATE FULL NAME TYPE PROJECT PATH
=== Source Status
STATE FULL NAME TYPE PROJECT PATH
────────────── ───────────────── ─────────── ────────────────────────────────────────────────────────────────────
──
Remote Changed Value__c.Value__c CustomField force-app\main\default\objects\Value__c\fields\Value__c.field-meta.x
ml
D:\sfdx_projects\forcedotcom-issue-638-repro>sfdx force:source:pull
=== Pulled Source
STATE FULL NAME TYPE PROJECT PATH
───── ──────────────── ─────────── ───────────────────────────────────────────────────────────────
Add objects.Value__c CustomField force-app\main\default\objects\Value__c\Value__c.field-meta.xml
D:\sfdx_projects\forcedotcom-issue-638-repro>
The incorrect output generated by this is stored on the Post-Force-Source-Pull
branch of this repository.