SFDMU is a cutting-edge Salesforce data migration tool for seamless org population from other orgs or CSV files. It handles all CRUD operations on multiple related objects in one go.
BSD 3-Clause "New" or "Revised" License
452
stars
75
forks
source link
[BUG]-Target object name not taken into consideration when loading frm csvfile #118
Describe the bug
When loading from both sourceorg or csvfile with an object that has different names in source and target (defined in "fieldMapping": []), The tool tries to retrieve metadata with the source object name and thus errors out.
Getting metadata for tsc_Keywords__c (TARGET)
Command in progress...... done
[ERROR] Mismatch org metadata error: Object tsc_Keywords__c is missing in the Target..
Execution of the command sfdmu:run has been finished. Exit code 3 (ORG_METADATA_ERROR).
Total time elapsed: 00h 00m 11s 313ms .
To Reproduce
Create an object with different api names in source and target.
Map the object name in fieldMapping.
Observe error when the plugin tries to retrieve metadata with the source object api name.
Expected behavior
Plugin uses the target object api name when retrieving its' metadata from target.
Describe the bug When loading from both sourceorg or csvfile with an object that has different names in source and target (defined in
"fieldMapping": []
), The tool tries to retrieve metadata with the source object name and thus errors out.To Reproduce
fieldMapping
.Expected behavior Plugin uses the target object api name when retrieving its' metadata from target.
export.json See bug #111
Log file 2020-06-29__09_23_13.log