[BUGFIX] Use single instance of DocumentTypeExclusionRestriction
With this change, the DocumentTypeExclusionRestrictionTest will use NOT IN instead of <>. This will allow to have only one instance of that restriction. Additionally multiple casts to integer have been removed. Resolves: #87938 Releases: master, 9.5 Change-Id: I3c1c5cc47800dae3f13afc654f55236634ad5bc5 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/60275 Tested-by:TYPO3com <noreply@typo3.com> Tested-by:
Dennis Prinse <dennis@dennisprinse.com> Tested-by:
Richard Haeser <richard@maxserv.com> Reviewed-by:
Dennis Prinse <dennis@dennisprinse.com> Reviewed-by:
Andreas Fernandez <a.fernandez@scripting-base.de> Reviewed-by:
Claus Due <claus@phpmind.net> Reviewed-by:
Richard Haeser <richard@maxserv.com>
Showing
- typo3/sysext/backend/Classes/Controller/Page/TreeController.php 21 additions, 5 deletions...sysext/backend/Classes/Controller/Page/TreeController.php
- typo3/sysext/core/Classes/Database/Query/Restriction/DocumentTypeExclusionRestriction.php 10 additions, 6 deletions...se/Query/Restriction/DocumentTypeExclusionRestriction.php
- typo3/sysext/core/Tests/Unit/Database/Query/Restriction/DocumentTypeExclusionRestrictionTest.php 51 additions, 0 deletions...uery/Restriction/DocumentTypeExclusionRestrictionTest.php
Please register or sign in to comment