Test coverage to prove `GeneratedFieldExplicitInputUxComponentSourceBase::validateComponentInput()` disallows garbage values

Created on 14 May 2025, about 4 hours ago

Overview

Unlike for the block component source plugin (see 📌 `BlockComponent::validateComponentInput()` allows garbage to pile up Active ), no garbage values are AFAICT allowed for the sdc and js component sources.

This is thanks to GeneratedFieldExplicitInputUxComponentSourceBase::validateComponentInput() calling

$this->componentValidator->validateProps($resolvedInputValues, $this->getSdcPlugin());

which would complain about unused props.

… or so I think 😅

Proposed resolution

Add test coverage to prove that the SDC + JS component sources are unaffected.

User interface changes

None.

📌 Task
Status

Active

Version

0.0

Component

Component sources

Created by

🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024