Add tests for alter hook calls with non-unique hook list (prepare for #3533944)

Created on 8 August 2025, 7 days ago

Problem/Motivation

In 🐛 triggerErrorForDuplicateAlterHookListener() incorrectly triggers for forms with identical base_form_id and form_id Active it was reported that we get problems when ->alter() is called with a non-unique list of alter types.

We have draft PRs in that issue, which add new tests and then attempt to fix the problem.
In the PR it is not easily seen what the "fix" is changing, because all the tests are new.

Steps to reproduce

Proposed resolution

Add the tests before we "fix" the behavior.

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

📌 Task
Status

Active

Version

11.0 🔥

Component

extension system

Created by

🇩🇪Germany donquixote

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

Comments & Activities

Production build 0.71.5 2024