Review main Abandoned

97313[BUGFIX] Respect workspace of new records in Extbase queries

Oli Bartsch CR 0 V 0 Normal +56 −2 updated 11/03/26, 08:38

Commit message

Extbase only added "t3ver_oid = 0" to filter out workspace records of
the queried table. A record created in a workspace also has
"t3ver_oid = 0", so it was returned in Live and in other workspaces.
The frontend hides this because the default constraints of the
PageRepository also filter on "t3ver_wsid". In backend and CLI
context, and in the frontend with ignored enable fields, no such
filter was applied.

The workspace constraint of the Typo3DbQueryParser now also limits
"t3ver_wsid" to Live and the current workspace, the same as the
WorkspaceRestriction does.

Review

  • Code review CR 0
  • Verified V 0

Issues 1

Files 2

Review log 2

  1. Oli Bartsch uploaded patch set 1 11/03/26, 08:30

  2. Oli Bartsch abandoned the change 11/03/26, 08:38

    nope