Bug #94109
closedThe Typoscript template analyzer displays an error with getEnv
100%
Description
I follow the possibility to "inject" environment variable in Typoscript, as described in the docs:
The parsing and the "injection" work well, but the Typoscript template analyzer displays an error:
Files
Updated by Gerrit Code Review almost 3 years ago
- Status changed from New to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72468
Updated by Jochen Roth almost 3 years ago
The TypoScript i used for testing:
page = PAGE page.5 = TEXT page.5.value = ENV__TYPO3_CONTEXT page.5.value := getEnv(TYPO3_CONTEXT) page.10 = TEXT page.10.value = <hr> page.15 = TEXT page.15.value = ENV_DOES_NOT_EXIST page.15.value := getEnv(ENV_DOES_NOT_EXIST) page.20 = TEXT page.20.value = <hr> page.25 = TEXT page.25.value = Bad_Value page.25.value :
Updated by Gerrit Code Review almost 3 years ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72468
Updated by Gerrit Code Review almost 3 years ago
Patch set 1 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72420
Updated by Anonymous almost 3 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 5a9f4951d49dd568e9c28a32ca3140d8e3177725.