MinnPost / object-sync-for-salesforce

WordPress plugin that maps and syncs data between Salesforce objects and WordPress objects.
https://wordpress.org/plugins/object-sync-for-salesforce/
GNU General Public License v2.0
94 stars 51 forks source link

'Salesforce Field Display Value' - API Name setting not applying all the time. #377

Closed CodeZeno closed 3 years ago

CodeZeno commented 3 years ago

When I edit an existing Fieldmap and add another field mapping, the Salesforce Field dropdown list differs from the dropdown list of existing fields.

Existing fields show a list of the API Names (expected because I have the 'Salesforce Field Display Value' setting set to API Name) The new field shows a list of Field Labels.

It seems 'Salesforce Field Display Value' setting is not being applied to new fields.

To Reproduce Steps to reproduce the behavior:

  1. Create a Fieldmap with some fields and save
  2. Edit the Fieldmap and add a new field
  3. Compare the list of options for the 'Salesforce Field' for an existing field and the one you just added.

Expected behaviour I expect the lists to match

Environment (please complete the following information):

jonathanstegall commented 3 years ago

@CodeZeno thank you for reporting this. I'll try to get a small release with a fix out quickly.