Reproduction: Try importing a new block (not overriding existing) with drush bm-import

Error message: `The "" entity type does not exist`.

Root cause: doImport() from Single Content Sync expects different YAML structure than our export format

Solution: Create block entities directly using Drupal's entity API

Comments

julien.reulos created an issue. See original summary.

  • julien.reulos committed ccf2d8a9 on 1.x
    Issue #3594477: Fix block import creation for new blocks
    
    - Create new...
julien.reulos’s picture

Status: Active » Fixed

Fixed in 1.0.0

Commit: https://git.drupal.org/project/block_migration/-/commit/ccf2d8a

The issue has been resolved by creating block entities directly instead of delegating to Single Content Sync's doImport() method.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

julien.reulos’s picture

Status: Fixed » Closed (fixed)