Project

General

Profile

Actions

Bug #86978

closed

TypoScript getText "site" can't retrieve all properties

Added by Josef Glatz over 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
TypoScript
Target version:
-
Start date:
2018-11-22
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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

Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Feature #86422: Allow usage of site in TypoScript gettextClosedSusanne Moog2018-09-28

Actions
Related to TYPO3 Core - Task #87434: site:identifier is not availableClosed2019-01-14

Actions
Precedes TYPO3 Core - Bug #87036: TypoScript getText "site" can't retrieve nested propertiesRejected2018-11-23

Actions
Actions #1

Updated by Josef Glatz over 5 years ago

  • Related to Feature #86422: Allow usage of site in TypoScript gettext added
Actions #2

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

Actions #3

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

Actions #4

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

Actions #5

Updated by Georg Ringer over 5 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #6

Updated by Josef Glatz over 5 years ago

  • Precedes Bug #87036: TypoScript getText "site" can't retrieve nested properties added
Actions #7

Updated by Josef Glatz over 5 years ago

  • Related to Task #87434: site:identifier is not available added
Actions #8

Updated by Benni Mack almost 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF