SchemaIncompleteException : Missing schema for block.patternkit:settings.reusable

Created on 23 August 2023, about 1 year ago
Updated 8 November 2023, about 1 year ago

Problem/Motivation

When running the Functional Javascript PHPUnit test to add the Patternkit block without Layout Builder. Getting Incomplete Schema Exception when we are trying to submit the form.

Attaching the Functional JS TestScript
BlockAddTest.php
PKBrowserTest.php

Steps to reproduce

  • Enable Patternkit Example module
  • Go to admin/structure/block layout/Patternkit library
  • Add Patternkit Example block
  • Select a pattern to create
  • Give the block a description
  • Click Save

Proposed resolution

Need to add the "reusable" property in the Patternkit schema file that is defined at this location - config/schema/patternkit.schema.yml – block.settings.patternkit_block:*:

Remaining tasks

TBD

User interface changes

N/A

API changes

N/A

Data model changes

N/A

🐛 Bug report
Status

Fixed

Version

9.1

Component

Schema Editor

Created by

🇮🇳India minsharm India

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

Comments & Activities

Production build 0.71.5 2024