Skip to content

Commit

Permalink
Fix: Error while loading Contacts when PersonAccount is enabled (#3756)
Browse files Browse the repository at this point in the history
W-15109524

With recent change for polymorphic data support, there is a bug
introduced while loading Contacts entity where PersonAccount is enabled
  • Loading branch information
jkasturi-sf committed Feb 23, 2024
1 parent 5f6a09c commit 2e9d929
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cumulusci/tasks/bulkdata/load.py
Original file line number Diff line number Diff line change
Expand Up @@ -835,7 +835,7 @@ def _generate_contact_id_map_for_person_accounts(

# Join maps together to get tuple (Contact ID, Contact SF ID) to insert into step's ID Table.
if self._old_format:
yield (contact_mapping.table + "-" + contact_id, contact_sf_id)
yield (contact_mapping.table + "-" + str(contact_id), contact_sf_id)
else:
yield (contact_id, contact_sf_id)

Expand Down

0 comments on commit 2e9d929

Please sign in to comment.