Project

General

Profile

Actions

Bug #93513

closed

Bug: TypoScript: TypeError if .postUserFunc= without .postUserFunc.xxx=

Added by Martin Bless over 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Content Rendering
Target version:
-
Start date:
2021-02-15
Due date:
% Done:

100%

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

Description

Problem

Code

# good, works
lib.helloworld_1 = TEXT
lib.helloworld_1 {
  value = Hello world!
}

# bad, FAILS
lib.helloworld_2 = TEXT
lib.helloworld_2 {
  value = Hello world!
  postUserFunc = ArtbeitDesign\Sitepackage\Utility\HttpCookie->csvAddRegionCookie
}

# good, works
lib.helloworld_3 = TEXT
lib.helloworld_3 {
  value = Hello world!
  postUserFunc = ArtbeitDesign\Sitepackage\Utility\HttpCookie->csvAddRegionCookie
  postUserFunc {
  }
}


Files

389.png (68.1 KB) 389.png Martin Bless, 2021-02-15 08:27

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #93758: postUserFunc type issuesRejected2021-03-17

Actions
Actions

Also available in: Atom PDF