Review 11.5 Merged

72689[BUGFIX] Pass sanitized additional where as string in DatabaseRecordList

Oli Bartsch CR +2 V +2 Easy +1 −1 updated 12/17/21, 16:06

Commit message

The RecordListGetTable hook allows to add an additional
where clause to the recordlist query. Since the sanitized
result was wrapped in an array before being passed to
$queryBuilder->andWhere(), this led to an exception.

This is now fixed by passing the sanitized clause as
string to `addWhere()`.

Review

  • Code review CR +2 Done
    • Oli Bartsch +2
  • Verified V +2 Done
    • Oli Bartsch +2
    • core-ci +1 CI

Issues 2

Files 1

Review log 34

  1. Oli Bartsch commented on patch set 1 12/17/21, 14:48

    Cherry Picked from branch main.
  2. core-ci voted on patch set 1 V +1 12/17/21, 15:01 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/21213

  3. Oli Bartsch voted on patch set 1 V +2 CR +2 12/17/21, 16:06

  4. Oli Bartsch merged patch set 2 12/17/21, 16:06