Bug #86978
closedTypoScript getText "site" can't retrieve all properties
100%
Description
Problem/Description¶
According to https://docs.typo3.org/typo3cms/extensions/core/Changelog/9.5/Feature-86422-TypoScriptGetTextPropertySite.html (#86422) it's possible to retrieve anything from the site configuration.
Following keys are working for example:¶
{site:base} {site:languages.0.title} {site:rootPageId}
The following key produces exceptions for example:¶
{site:configuration.rootPageId} {site:identifier}
Exception¶
#1341397869 TYPO3\CMS\Core\Utility\Exception\MissingArrayPathException
Segment configuration of path configuration.rootPageId does not exist in array
#1341397869 TYPO3\CMS\Core\Utility\Exception\MissingArrayPathException
Segment identifier of path identifier does not exist in array
Acceptance Criteria¶
- According to the RsT, every configuration option must be available.
- Otherwise it has to be mentioned in the RsT
Updated by Josef Glatz over 5 years ago
- Related to Feature #86422: Allow usage of site in TypoScript gettext added
Updated by Georg Ringer over 5 years ago
it returns the configuration and not the site itself. however what I fix is throwing the exception
Updated by Gerrit Code Review over 5 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58947
Updated by Gerrit Code Review over 5 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58947
Updated by Georg Ringer over 5 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset d01d61585a95c2672610e40cb741564a21fcd7bb.
Updated by Josef Glatz over 5 years ago
- Precedes Bug #87036: TypoScript getText "site" can't retrieve nested properties added
Updated by Josef Glatz over 5 years ago
- Related to Task #87434: site:identifier is not available added