The module produces an assertion error on field definition discovery

Created on 18 October 2024, about 1 month ago

Problem/Motivation

I understand that the module is intended solely for testing purposes. However, since it functions as a regular module, there is a possibility it could be enabled even on a production site, either accidentally or intentionally. Consequently, it must not negatively impact the site's functionality. But it produces an error on field definition discovery.

Steps to reproduce

  1. Enable "Test Helpers" module
  2. Try to add a new field to any content entity using UI
  3. See AssertionError: "Stubs" must be defined in MODULE_NAME.field_type_categories.yml in assert()

Proposed resolution

Probably, define "Stubs" field types category.

πŸ› Bug report
Status

Active

Version

1.5

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine Joyakas

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