Project

General

Profile

Actions

Bug #99465

closed

Accessing site configuration via TypoScript getData triggers a warning when configuration option does not exist

Added by Helmut Hummel almost 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2023-01-05
Due date:
% Done:

100%

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

Description

The following stdWrap code currently triggers a log warning:

if.isTrue.data = site:settings.optional.property

My expectation is, that this "incident" should rather be logged at least as notice instead,
since the value accessed could intentionally be an optional value.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #98053: TypoScript: getData spams logfile if value in site config is missing Closed2022-07-29

Actions
Actions #1

Updated by Gerrit Code Review almost 2 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/+/77262

Actions #2

Updated by Gerrit Code Review almost 2 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/+/77220

Actions #3

Updated by Helmut Hummel almost 2 years ago

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

Updated by Gerrit Code Review almost 2 years ago

  • Status changed from Resolved to Under Review

Patch set 1 for branch 10.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/77289

Actions #5

Updated by Gerrit Code Review almost 2 years ago

Patch set 2 for branch 10.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/77289

Actions #6

Updated by Andreas Kießling almost 2 years ago

  • Related to Bug #98053: TypoScript: getData spams logfile if value in site config is missing added
Actions #7

Updated by Helmut Hummel almost 2 years ago

  • Status changed from Under Review to Resolved
Actions #8

Updated by Benni Mack almost 2 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF