Modify constraint to allow new ignored entities

Created on 26 June 2025, about 1 month ago

Problem/Motivation

Following πŸ“Œ Add mechanism to have workspaces skip processing entity types Fixed , we have the notion of ignored entity types.

In #3259701: Override entity reference validation constraint of core workspaces β†’ , this module introduced a constraint validator that softened core's version, allowing us to create "internal" entities on an entity reference field. That issue mentioned a future state in which the notion of "ignored" entities was also considered. Now we can make that future a reality.

Steps to reproduce

Install WSE and try to add a Paragraph entity inside a Workspace. We get a message "Paragraphs can only be created within the default workspace."

Proposed resolution

Add another check to the already long list of conditions in the WseEntityReferenceSupportedNewEntitiesConstraintValidator

Remaining tasks

User interface changes

API changes

Data model changes

✨ Feature request
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States danflanagan8 St. Louis, US

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

Comments & Activities

Production build 0.71.5 2024