Closed (fixed)
Project:
Salesforce Suite
Version:
8.x-3.x-dev
Component:
Code
Priority:
Minor
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
16 Oct 2017 at 06:05 UTC
Updated:
2 Nov 2017 at 17:39 UTC
Jump to comment: Most recent
Comments
Comment #2
vladimirausComment #3
vladimirausConfirmed same error for `3.x-dev` version
Comment #4
aaronbaumanYou should:
1) make sure you have installed dynamic_entity_reference module - this is a new dependency
2) run updb and entup alternatively until the error goes away.
I was fighting this error for quite some time, but I'm pretty sure the above will fix it.
Please let me know either way
Comment #5
vladimirausThanks @aaronbauman
Comment #6
vladimirausOK. Managed to succeed after running
Thanks for your help @aaronbauman
Comment #7
aaronbaumanWhen you have DER enabled, the first run of entup will add the DER field "drupal_entity__target_id", but fail to remove the 2 others.
Then, you run updb, which will run salesforce_mapping_update_8001() to copy the data from the old fields to the DER field, and salesforce_mapping_update_8002() to drop the old fields.
Then, you run entup again, which will get Drupal's record of the old fields up to date.
Then, you may need to run updb once more, and you may need to rebuild cache between each step.
Believe it or not, this was the simplest way I could figure out how to build this with as little direct manipulation of database as possible.
Seems like Drupal's update system has a lot of trouble with adding complex new dependencies for existing projects.
Comment #8
aaronbauman