Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
When run drush command 'drush salesforce_mapping:purge-drupal'
There is an error,
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'm.drupal_entity__target_id_int' in 'on clause': SELECT "m"."id" AS "id"
FROM
{salesforce_mapped_object} "m"
LEFT JOIN {node} "et" ON et.nid = m.drupal_entity__target_id_int
WHERE ("drupal_entity__target_type" = :db_condition_placeholder_0) AND ("et"."nid" IS NULL); Array
(
[:db_condition_placeholder_0] => node
)
Steps to reproduce
Run drush command drush salesforce_mapping:purge-drupal
And then chose one or all Salesforce mapping.
Proposed resolution
N/A
Remaining tasks
N/A
User interface changes
N/A
API changes
N/A
Data model changes
likely.
Comment | File | Size | Author |
---|---|---|---|
#2 | salesforce-purge_bug-3244516.patch | 896 bytes | AaronBauman |
Comments
Comment #2
AaronBaumanThis should fix it
Comment #3
MingsongComment #4
MingsongThe patch works for my site.
Thanks.
Comment #6
Mingsong