Review main Merged

96939[TASK] Cover fetch events, raw statements and unsupported operators

Alexander Schnitzler CR +2 V +2 Normal +187 −0 updated 10/21/26, 05:13

Commit message

Add Extbase functional tests for behaviour that has no core
counterpart:

* The fetch events ModifyQueryBeforeFetchingObjectDataEvent and
  ModifyResultAfterFetchingObjectDataEvent fire as a pair around
  each object data query. The test pins the pairing rule per
  query, not the number or order of the relation queries.
* A raw SQL statement with "?" parameters hydrates managed
  objects, adds no constraints of its own (a hidden record is
  returned) and reuses an object already in the identity map.
* A QueryBuilder passed to "statement()" adds no constraints
  either: its own restrictions decide, so hidden and deleted
  posts are left out and the posts equal those the QueryBuilder
  returns when executed directly.
* An unsupported QOM operator (OPERATOR_IS_NULL via the QOM
  factory) throws a persistence exception with code 1242816073
  when the SQL is built.

Review

  • Code review CR +2 Done
    • Benni Mack +2
  • Verified V +2 Done
    • Benni Mack +2
    • Oliver Klee +1
    • core-ci +1 CI

Issues 2

Files 4

Review log 67

  1. Alexander Schnitzler uploaded patch set 1 10/20/26, 15:54

  2. Alexander Schnitzler wrote 10/20/26, 15:55

    Topic set to extbase
  3. core-ci voted on patch set 1 V +1 10/20/26, 16:04 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/111878

  4. Alexander Schnitzler marked it ready for review 10/20/26, 17:19

  5. Oliver Klee voted on patch set 1 V +1 10/20/26, 17:28

  6. Benni Mack voted on patch set 1 CR +2 V +2 10/21/26, 05:13

  7. Benni Mack merged patch set 2 10/21/26, 05:13