Merge conflict

Gerrit cannot merge this change. It needs a rebase onto main.

Review main Ready for review

98380[TASK] Deprecate the array representation of soft references

Benni Mack CR 0 V 0 Hard +205 −77 updated 12/05/26, 22:06

Commit message

All soft reference parsers of the core create SoftReference objects,
and the reference index, ext:impexp, ext:lowlevel and the link
validator do not need the array representation of the matches
anymore, except for the export files of ext:impexp.

SoftReferenceParserResult::getMatchedElements(), passing arrays to
SoftReferenceParserResult::create() and the array methods of
AppendLinkHandlerElementsEvent are deprecated. The event gets
setSoftReferences() as replacement of setElements(). The parser of
ext:form creates SoftReference objects now. The reference index and
the link validator use the internal toArray() of the result, which
keeps matches of extensions given as arrays, until they are removed.
Resolves: #111739
Related: #111730
Releases: main
Change-Id: I8cf10aa36e3488604729786bb9aa8332ed3c6d96

Test this change

Run a command in your clone of the TYPO3 Core. Then try what the change does and vote on Verified in Gerrit. How to review a patch

Check out patch set 1
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/80/98380/1 && git checkout FETCH_HEAD
Cherry-pick onto main
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/80/98380/1 && git cherry-pick FETCH_HEAD

Review

  • Code review CR 0 Needs a vote
  • Verified V 0 Needs a vote
    • core-ci +1 CI

Relation chain 5

  1. 98380 [TASK] Deprecate the array representation of soft references This change

  2. 98379[FEATURE] Select linkvalidator linktypes by the link type This change is based on it Benni Mack → main Hard +252 −26 CR 0 V 0
  3. 98378[TASK] Replace soft reference tokens in one place This change is based on it Benni Mack → main Normal +149 −14 CR 0 V 0
  4. 98377[FEATURE] Provide soft references in AppendLinkHandlerElementsEvent This change is based on it Benni Mack → main Hard +283 −142 CR 0 V 0 Merge conflict
  5. 98363[FEATURE] Provide soft references as value objects This change is based on it Benni Mack → main Hard +476 −60 CR 0 V 0

Issues 2

Files 18

Review log 12

  1. Benni Mack uploaded patch set 1 12/05/26, 21:50

  2. core-ci voted on patch set 1 V +1 12/05/26, 22:06 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/116478