Getting an error after upgrading from RC5 to RC6 after`composer update` and `drush updb`

Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[42S22]:      [error]
Column not found: 1054 Unknown column 'base.force_pull' in 'field
list': SELECT revision.revision_id AS revision_id, revision.entity_id
AS entity_id, revision.entity_type_id AS entity_type_id,
revision.salesforce_mapping AS salesforce_mapping,
revision.salesforce_id AS salesforce_id, revision.created AS created,
revision.changed AS changed, revision.entity_updated AS
entity_updated, revision.last_sync_status AS last_sync_status,
revision.last_sync_action AS last_sync_action,
revision.revision_created AS revision_created, revision.revision_user
AS revision_user, revision.revision_log_message AS
revision_log_message, base.id AS id, base.force_pull AS force_pull,
CASE base.revision_id WHEN revision.revision_id THEN 1 ELSE 0 END AS
isDefaultRevision
FROM 
{salesforce_mapped_object} base
INNER JOIN {salesforce_mapped_object_revision} revision ON
revision.revision_id = base.revision_id
WHERE base.id IN (:db_condition_placeholder_0); Array
(
    [:db_condition_placeholder_0] => 416
)
 in Drupal\Core\Entity\Sql\SqlContentEntityStorage->getFromStorage()
(line 428 of
/mnt/gfs/rockcotespecifierkjrvuzilhk/livedev/web/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStora```.

Comments

VladimirAus created an issue. See original summary.

vladimiraus’s picture

Issue summary: View changes
vladimiraus’s picture

Version: 8.x-3.0-rc6 » 8.x-3.x-dev

Tested update RC5 to RC6 and RC6 to 3.x-dev.
Both have the same result: above error.

Rolling back to RC5: works.

aaronbauman’s picture

you need to run `drush entup` as well, to install the new "force_pull" field.

vladimiraus’s picture

Priority: Major » Minor

Thanks. That worked. Got the following warnings though

Undefined variable: type DeleteHandler.php:103 [3.19 sec, 23.78 MB]     [notice]
Undefined index:  DeleteHandler.php:103 [3.19 sec, 23.78 MB]            [notice]
Undefined variable: type DeleteHandler.php:103 [3.41 sec, 23.79 MB]     [notice]
Undefined index:  DeleteHandler.php:103 [3.41 sec, 23.79 MB]            [notice]
Undefined variable: type DeleteHandler.php:103 [3.69 sec, 23.79 MB]     [notice]
Undefined index:  DeleteHandler.php:103 [3.69 sec, 23.79 MB]            [notice]

  • aaronbauman committed beb9e0c on 8.x-3.x
    Issue #2908147: mis-named variable in deletehandler
    
aaronbauman’s picture

Status: Active » Fixed

thanks - beb9e0c fixes that notice with the latest commit.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.