Problem/Motivation

The config schema for some of the configs are incorrect, and are flagged on Drupal 11.

 [warning] Schema errors for block_content.type.reusable_block with the following errors: block_content.type.reusable_block:revision variable type is integer but applied schema class is Drupal\Core\TypedData\Plugin\DataType\BooleanData. These errors mean there is configuration that does not comply with its schema. This is not a fatal error, but it is recommended to fix these issues. For more information on configuration schemas, check out <a href="https://www.drupal.org/docs/drupal-apis/configuration-api/configuration-schemametadata">the documentation</a>.

Steps to reproduce

Attempt to install Gutenberg in Drupal 11.

Proposed resolution

Ensure the default config shemas are correct.

Remaining tasks

Provide MR

User interface changes

N/A

API changes

N/A

Data model changes

N/A

Issue fork gutenberg-3566630

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

codebymikey created an issue. See original summary.

codebymikey’s picture

Also needs to be cherry-picked onto the 2.x branch, since that also supports Drupal 11.

szeidler’s picture

Status: Active » Reviewed & tested by the community

I see the issue as well, when running automated tests in Drupal 10. I can confirm your patch is working.

  • codebymikey committed 732ca09f on 3.0.x
    feat: #3566630 Address config schema errors for D11 support
    
codebymikey’s picture

Status: Reviewed & tested by the community » Fixed

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.

  • codebymikey committed 732ca09f on 4.0.x
    feat: #3566630 Address config schema errors for D11 support
    

  • codebymikey committed 732ca09f on feature/wp-scripts-packages-build
    feat: #3566630 Address config schema errors for D11 support
    

Status: Fixed » Closed (fixed)

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