64598[TASK] Avoid usages of TYPO3_MODE
Commit message
Review
-
Code review CR +2 Done
- Benjamin Franzke +2
- Wouter Wolters +1
- Andreas Kienast +1
-
Verified V +2 Done
- Benjamin Franzke +2
- Andreas Kienast +1
- TYPO3com +1 CI
Issues 1
Files 10
- typo3/sysext/backend/Classes/Template/ModuleTemplate.php+1 −1
- typo3/sysext/core/Classes/Authentication/AuthenticationService.php+5 −5
- typo3/sysext/core/Classes/Collection/RecordCollectionRepository.php+4 −3
- typo3/sysext/core/Classes/FormProtection/FormProtectionFactory.php+2 −1
- typo3/sysext/core/Classes/Messaging/FlashMessageQueue.php+6 −1
- typo3/sysext/core/Classes/Resource/AbstractRepository.php4+3 −2
- typo3/sysext/core/Tests/Functional/Fixtures/Frontend/AdditionalConfiguration.php+2 −4
- typo3/sysext/core/Tests/Unit/Authentication/AuthenticationServiceTest.php+4 −0
- typo3/sysext/extbase/Classes/Service/EnvironmentService.php+31 −1
- typo3/sysext/form/Classes/Domain/Runtime/FormRuntime.php1+4 −4
Review log 1113
-
Benni Mack uploaded patch set 1 05/29/20, 11:04
-
TYPO3com voted on patch set 1 V -1 05/29/20, 12:07 Completed build in 1h 02m 31s on Fri, 29 May, 12:07 PM Test Summary: 24 of 72581 failed Find logs and detail information at https://bamboo.typo3.com/browse/CORE-GTC-3625
-
Benni Mack uploaded patch set 2 05/29/20, 18:43
-
TYPO3com voted on patch set 2 V +1 05/29/20, 19:00 Completed build in 14m 29s on Fri, 29 May, 07:00 PM Test Summary: 73093 passed Find logs and detail information at https://bamboo.typo3.com/browse/CORE-GTC-3645
-
Wouter Wolters voted on patch set 2 CR +1 05/29/20, 19:17
-
Andreas Kienast voted on patch set 2 V +1 CR +1 06/02/20, 05:56
-
Benjamin Franzke voted on patch set 2 CR +1 06/02/20, 12:17
-
Benjamin Franzke commented on patch set 2 CR -1 06/02/20, 12:51
FormRuntime.php:1011UnresolvedI wonder when this case is actually triggered? In frontend mode I actually never run into this else block, as the language attribute is always available when TSFE is. Still, the code is not wrong, just looks like it is never executed. -
Benjamin Franzke commented on patch set 2 06/02/20, 12:58
AbstractRepository.php:303ReplyMy suggestion would be to add one middleware to backend/installtool and one middleware to frontend and set a static mode attribute on the PSR-7 request in each of these. -
Benni Mack commented on patch set 2 06/02/20, 13:24
AbstractRepository.php:303ReplyPlease check what happens if this is set to 'FE' - then this would use the FrontendRestrictionContainer which then would use the native Context API for populating the restrictions for Workspace+FE Groups, having basically no effect as they haven't been set in eID scripts. The default restriction container would then apply now for eID scripts, which is the same effect as the FrontendRestrictionCOntainer without the settings set. -
Benjamin Franzke commented on patch set 2 CR +1 06/02/20, 14:04
AbstractRepository.php:303ReplyHm, true, I somehow thought HiddenRestricton would be required for files, but it obviously isn't needed. Therefore this is fine by me. -
Benjamin Franzke voted on patch set 2 V +2 CR +2 06/02/20, 14:37
-
Benjamin Franzke merged patch set 3 06/02/20, 14:37
AbstractRepository.php:303