Problem/Motivation

Getting below error while running migration:

  [Drupal\Core\Database\DatabaseExceptionWrapper]                                             
  SQLSTATE[HY000]: General error: 1 no such table: acl_node: SELECT COUNT(*) AS "expression"

Steps to reproduce

This problem occurs if ACL is not installed on source site and migrations are run.

Proposed resolution

Use DrupalSqlBase instead of SqlBase class.

Remaining tasks

NA

User interface changes

NA

API changes

NA

Data model changes

NA

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

narendraR created an issue. See original summary.

narendraR’s picture

Status: Active » Needs review
FileSize
1.86 KB

Here is the patch

Wim Leers’s picture

Status: Needs review » Reviewed & tested by the community

Works perfectly! :)

  • salvis committed 2aa8741 on 8.x-1.x
    Issue #3231034 by narendraR: Use DrupalSqlBase instead of SqlBase class.
    
salvis’s picture

Version: 8.x-1.0-beta1 » 8.x-1.x-dev
Status: Reviewed & tested by the community » Fixed

Thank you narendraR and Wim Leers!

Status: Fixed » Closed (fixed)

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