Documentation to Upgrade 3to4 for blocks is invalid

Created on 5 September 2025, about 1 month ago

Problem/Motivation

Documentation and module page mention that to update blocks one needs to run:

# Do the same for another entity type.
drush footnotes:upgrade-3-to-4 block

but block entities are split into multiple types: block and block_content

block does not support fetching field definitions, and they are not block with customizable (as in user generated) content
A drupal error is the result, although not communicated when running the update:
Getting the base fields is not supported for entity type Block.

block_content is the one we are after

Steps to reproduce

Run
drush footnotes:upgrade-3-to-4 block
and then try again with
drush footnotes:upgrade-3-to-4 block_content

Proposed resolution

Fix docs

🐛 Bug report
Status

Active

Version

4.0

Component

Footnotes

Created by

🇬🇷Greece bserem

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024