Review 11.5 Merged

76125[BUGFIX] Handle flexform in BU::getProcessedValue() only if not null

Stefan Bürk CR +2 V +2 Normal +71 −17 updated 10/17/22, 05:52

Commit message

The contents of a field of type `flex` may be NULL if the field is
empty. `BackendUtility::getProcessedValue()` handles the content of such
`flex` fields now only if the value is an actual string to solve
deprecations related to PHP 8.1.

In the same run, the content is trimmed to get rid of lots of empty
lines caused by multiline XML data.

Review

  • Code review CR +2 Done
    • Christian Kuhn +2
    • Oliver Klee +1
    • Stefan Bürk +1
  • Verified V +2 Done
    • Christian Kuhn +2
    • Oliver Klee +1
    • Stefan Bürk +1
    • core-ci +1 CI

Issues 2

Files 3

Review log 67

  1. Stefan Bürk uploaded patch set 1 10/16/22, 18:51

  2. core-ci voted on patch set 1 V +1 10/16/22, 18:58 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/32364

  3. Oliver Klee voted on patch set 1 V +1 CR +1 10/16/22, 21:44

  4. Stefan Bürk voted on patch set 1 V +1 CR +1 10/17/22, 02:31

  5. Christian Kuhn voted on patch set 1 V +1 CR +1 10/17/22, 05:47

  6. Christian Kuhn voted on patch set 1 V +2 CR +2 10/17/22, 05:51

  7. Christian Kuhn merged patch set 2 10/17/22, 05:52