52799[TASK] Use LanguageService inside TSFE
Commit message
Review
-
Code review CR +2
- Susi Moog +2
- Wouter Wolters +1
- Christian Kuhn +1
-
Verified V +2
- Susi Moog +2
- Christian Kuhn +1
- TYPO3com +1 CI
Issues 1
Files 5
- typo3/sysext/core/Documentation/Changelog/master/Deprecation-81217-TSFE-relatedLanguageMethods.rstnew+42 −0
- typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php11+39 −86
- typo3/sysext/frontend/Tests/Unit/ContentObject/ContentObjectRendererTest.php+2 −5
- typo3/sysext/frontend/Tests/Unit/Controller/TypoScriptFrontendControllerTest.php+2 −0
- typo3/sysext/install/Configuration/ExtensionScanner/Php/MethodCallMatcher.php+21 −0
Review log 3039
Show 1014 earlier messages
-
Benni Mack uploaded patch set 1 05/13/17, 14:36
-
TYPO3com voted on patch set 1 V -1 05/13/17, 14:42 Completed build in 05m 27s on Sat, 13 May, 04:42 PM Test Summary: 12 of 55853 failed Find logs and detail information at https://bamboo.typo3.com/browse/CORE-GTC-11482
-
Oliver Klee commented on patch set 1 05/13/17, 14:45
I think there is a word missing at the end of the sentence. -
Georg Ringer commented on patch set 1 05/13/17, 16:50
+ rst missing but I guess you know that ;)TypoScriptFrontendController.php:4034should that method be depracated as well?TypoScriptFrontendController.php:4091php7 string $language. -
Elmar Hinz commented on patch set 1 05/13/17, 17:42
LOL, no that's not the work of god, if there is everything in two similar variants, once for the frontend, once for the backend. It's an indicator of research to find the better variant. You do a great job to bring it into one solution after a decade. Having no control how often a cache is created is still a difficult design. Everybody calling GeneralUtility::makeInstance() will create a new cache. I hope we get the solution with a runtime cache in the end. To me it seem the solution most people can agree upon. -
Benni Mack commented on patch set 1 05/14/17, 12:30
TypoScriptFrontendController.php:4034Replynot possible yet, as it still used in other places. I will continue on that once we're pushing this topic further. -
Benni Mack uploaded patch set 2 05/14/17, 12:53
-
TYPO3com voted on patch set 2 V -1 05/14/17, 12:58 Completed build in 05m 06s on Sun, 14 May, 02:58 PM Test Summary: 12 of 55853 failed Find logs and detail information at https://bamboo.typo3.com/browse/CORE-GTC-11489
-
Andreas Kienast commented on patch set 2 05/14/17, 12:58
TypoScriptFrontendController.php:4029No deprecation like "use LanguageService->sL() directly" here? -
Benni Mack commented on patch set 2 05/14/17, 13:37
TypoScriptFrontendController.php:4029Replyno. still used in many places like Extbase, we still need this (for now) -
Benni Mack uploaded patch set 3 05/14/17, 13:57
-
TYPO3com voted on patch set 3 V -1 05/14/17, 14:02 Completed build in 05m 11s on Sun, 14 May, 04:02 PM Test Summary: 6 of 55853 failed Find logs and detail information at https://bamboo.typo3.com/browse/CORE-GTC-11490
-
Benni Mack uploaded patch set 4 05/14/17, 19:27
-
TYPO3com voted on patch set 4 V +1 05/14/17, 19:32 Completed build in 04m 52s on Sun, 14 May, 09:32 PM Test Summary: 55850 passed Find logs and detail information at https://bamboo.typo3.com/browse/CORE-GTC-11491
-
Christian Kuhn commented on patch set 4 CR -1 05/18/17, 15:14
some smaller remarks.some word is missing.Breaking-81217-TSFELabelRelatedCacheProperties.rst:12:php:`TypoScriptFrontendController`Deprecation-81217-TSFELabelRelatedMethods.rst:12:php:`TypoScriptFrontendController`TypoScriptFrontendController.php:2496shouldn't we better use ?? instead of ?: to suppress a possible e_notice here? -
Oliver Klee commented on patch set 4 05/18/17, 15:52
To me, this looks more like a CLEANUP than the general TASK. -
Benni Mack commented on patch set 4 05/19/17, 05:22
I'd say this isn't really cleanup, as it is a breaking change, not just cosmetical. Please also review the changed parts - I have a feeling that getLLL and getLL behave differently after that change, but would like more eyes on this.TypoScriptFrontendController.php:2496Replythat's a difference. we should use !empty() I'd say. it could be set to empty, or not set at all. But ... empty value should not be allowed either... hmm -
Frank Nägler commented on patch set 4 05/19/17, 20:23
TypoScriptFrontendController.php:2496Replyfor an empty value this work, but in case it is not set, we get a notice. I think also we should use ?? instead of ?: -
Benni Mack commented on patch set 5 05/20/17, 11:32
Published edit on patch set 4. -
TYPO3com voted on patch set 5 V +1 05/20/17, 11:38 Completed build in 05m 19s on Sat, 20 May, 01:38 PM Test Summary: 55886 passed Find logs and detail information at https://bamboo.typo3.com/browse/CORE-GTC-11610
-
Georg Ringer voted on patch set 5 CR +1 V +1 06/13/17, 12:36
-
Benni Mack uploaded patch set 6 06/16/17, 10:25
-
TYPO3com voted on patch set 6 V +1 06/16/17, 10:41 Completed build in 16m 14s on Fri, 16 Jun, 12:41 PM Test Summary: 56514 passed Find logs and detail information at https://bamboo.typo3.com/browse/CORE-GTC-12621
-
Stefan Neufeind commented on patch set 6 06/17/17, 13:19
TypoScriptFrontendController.php:4072Let's just call it v10 instead of v10.0 maybe?TypoScriptFrontendController.php:4101typo: setOutputLanguage but setOutputLanguage is also protected! I guess you meant settingLanguage()? -
Stefan Neufeind uploaded patch set 7 09/07/17, 08:07
-
Stefan Neufeind commented on patch set 6 09/07/17, 08:07
rebased -
TYPO3com voted on patch set 7 V -1 09/07/17, 08:26 Completed build in 19m 25s on Thu, 7 Sep, 10:26 AM Test Summary: 1 of 58496 failed Find logs and detail information at https://bamboo.typo3.com/browse/CORE-GTC-14277
-
TYPO3com voted on patch set 7 V +1 09/09/17, 11:15 Completed build in 3h 28m 02s on Sat, 9 Sep, 01:15 PM Test Summary: 58133 passed Find logs and detail information at https://bamboo.typo3.com/browse/CORE-GTC-14277
-
Stefan Neufeind voted on patch set 7 CR +1 09/09/17, 17:26
-
Andreas Kienast commented on patch set 7 09/10/17, 08:24
TypoScriptFrontendController.php:4114as setOutputLanguage is protected, I'd remove that hint -
Markus Hölzle commented on patch set 7 09/10/17, 09:26
Does the typoscript option "config.language_alt" from the documentation works with this? https://docs.typo3.org/typo3cms/TyposcriptReference/Setup/Config/Index.html#language-alt -
Benni Mack commented on patch set 7 09/10/17, 11:11
no, not currently (it's only available currently in PiBased Plugins, Extbase TranslationService and EXT:form - so no change of behaviour. -
Benni Mack uploaded patch set 8 10/16/17, 17:12
-
TYPO3com voted on patch set 8 V +1 10/16/17, 17:22 Completed build in 10m 36s on Mon, 16 Oct, 07:22 PM Test Summary: 56612 passed Find logs and detail information at https://bamboo.typo3.com/browse/CORE-GTC-15692
-
Christian Kuhn voted on patch set 8 CR +1 V +1 10/16/17, 18:27
-
Wouter Wolters voted on patch set 8 CR +1 10/16/17, 18:44
-
Susi Moog voted on patch set 8 CR +1 10/16/17, 18:47
-
Susi Moog voted on patch set 8 CR +2 V +2 10/16/17, 18:48
-
Gerrit merged patch set 8 10/16/17, 18:48