[BUGFIX] Select proper records in DBAL workspace restrictions 02/58902/2
authorBenni Mack <benni@typo3.org>
Thu, 15 Nov 2018 10:28:11 +0000 (11:28 +0100)
committerBenni Mack <benni@typo3.org>
Fri, 16 Nov 2018 09:20:37 +0000 (10:20 +0100)
commitd7dc71685b33a31a95f94f0bd9024066619c15ce
tree88bcb82417c45d023a64cc17fd0db208752c9359
parent9ff37c43050489cd12ca948af654f36f5f79e346
[BUGFIX] Select proper records in DBAL workspace restrictions

A new WorkspaceRestriction is added to solve all issues
once and for all.

For now, this restriction is only added in v8.7 but not in use yet.

Resolves: #84985
Releases: master, 8.7
Change-Id: I22d5f276460107802bef3d390e6781434f1c28d3
Reviewed-on: https://review.typo3.org/58902
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/core/Classes/Database/Query/Restriction/WorkspaceRestriction.php [new file with mode: 0644]
typo3/sysext/core/Documentation/Changelog/8.7.x/Important-84985-UnifiedWorkspaceRestrictionForDatabaseQueries.rst [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Database/Query/Restriction/WorkspaceRestrictionTest.php [new file with mode: 0644]