Review 12.4 Merged

84198[BUGFIX] Prevent TypeError in DatabaseIntegrityController

Stefan Bürk CR +2 V +2 Easy +6 −3 updated 05/10/24, 17:54

Commit message

In advanced query the operator "is in list" makes value
be an array. Then switch the field to a non-array field
type, and you get the following TypeError:

```
  htmlspecialchars(): Argument #1 ($string) must be of type
  string, array given.
```

This resets the array value to an empty string.

Review

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

Issues 1

Files 1

Review log 34

  1. Stefan Bürk commented on patch set 1 05/10/24, 17:28

    Cherry Picked from branch main.
  2. core-ci voted on patch set 1 V +1 05/10/24, 17:34 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/57491

  3. Stefan Bürk voted on patch set 1 CR +2 V +2 05/10/24, 17:54

  4. Stefan Bürk merged patch set 2 05/10/24, 17:54