Problem/Motivation

When running the command drush footenotes:upgrade-3-to-4 block I get an error message "Getting the base fields is not supported for entity type Block."

The command does out put content that is being updated, but the content is not updated.

Steps to reproduce

1) Install CKEditor 5 using composer.
2) Enable CKEditor 5.
3) Update Footnotes:^4.0@alpha
4) Run command drush footenotes:upgrade-3-to-4 block
Receives message: Getting the base fields is not supported for entity type Block.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork footnotes-3440060

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

nathanhealea created an issue. See original summary.

scott_euser made their first commit to this issue’s fork.

scott_euser’s picture

Status: Active » Needs review

Thanks for flagging @nathanhealea! The merge request should prevent the fatal error, but I am not sure it will actually solve the problem, as this essentially causes the script to skip the specified entity if it does not have fields. Perhaps you can detail further what type of block and what field on the block you have citations in.

scott_euser’s picture

Version: 4.0.0-alpha6 » 4.0.x-dev

  • scott_euser committed f7f10374 on 4.0.x
    Issue #3440060 by scott_euser: upgrade-3-to-4 block command gives error...
scott_euser’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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