#111689Deprecate Warning and Notice of Extbase error results
Description
TYPO3\CMS\Extbase\Error\Warning and Notice and the related methods of Result (addWarning(), addNotice(), getWarnings(), getNotices(), getFirstWarning(), getFirstNotice(), hasWarnings(), hasNotices(), getFlattenedWarnings(), getFlattenedNotices()) stem from Flow. Neither validation nor property mapping creates warnings or notices, and nothing in the core reads them.
The only user of the classes is the FlashMessageFinisher of EXT:form, which uses them to express a severity. It can use ContextualFeedbackSeverity directly.
Goal: deprecate both classes and the related methods of Result in v15 and remove them in v16. This is the first step to reduce the Extbase error model to what is used.
Reviews 1
History 12
-
Gerrit Code Review pushed patch set 1 for main to change 98215 status
NewUnder Review 11/30/26, 13:04 -
Anonymous commented and changed status
Under ReviewResolved done0 %100 % 11/30/26, 15:45
Applied in changeset commit:75bc2a3f2ab6626755f7dd237e699aebe0bd1bf4.