[BUGFIX] Preview pages with publish dates
Currently pages can be hidden for different reasons: - page is disabled - page has a start time in the future - page has an end time in the past - page has an access restriction When previewing a page the fe_groups and disabled restriction are already ignored when TYPO3 is configured to preview hidden pages. Start and endtime should be ignored, too, so an editor is able to preview pages with start or end times set. Change-Id: I634076af7219b70ccfc46f470ba046417177d29a Resolves: #66451 Releases: master Reviewed-on: https://review.typo3.org/52023 Reviewed-by:Tobi Kretschmann <tobi@tobishome.de> Tested-by:
Tobi Kretschmann <tobi@tobishome.de> Reviewed-by: Steffen Frese Tested-by: Steffen Frese Reviewed-by:
Morton Jonuschat <m.jonuschat@mojocode.de> Tested-by:
Morton Jonuschat <m.jonuschat@mojocode.de>
Showing
- typo3/sysext/core/Classes/Database/Query/Restriction/FrontendRestrictionContainer.php 1 addition, 1 deletion...tabase/Query/Restriction/FrontendRestrictionContainer.php
- typo3/sysext/core/Tests/Unit/Database/Query/Restriction/FrontendRestrictionContainerTest.php 4 additions, 4 deletions...se/Query/Restriction/FrontendRestrictionContainerTest.php
- typo3/sysext/frontend/Classes/Page/PageRepository.php 2 additions, 2 deletionstypo3/sysext/frontend/Classes/Page/PageRepository.php