Project

General

Profile

Actions

Bug #93798

closed

Error for f:form.checkbox or f:form.radio without property attribute

Added by Jonas Götze over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Fluid
Target version:
-
Start date:
2021-03-22
Due date:
% Done:

100%

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

Description

Using f:form.checkbox or f:form.radio without a property-attribute inside a f:form with object="..." attribute leads to the error

Argument 2 passed to TYPO3\CMS\Extbase\Reflection\ObjectAccess::getPropertyPath() must be of the type string, null given, called in /var/www/html/private/typo3/sysext/fluid/Classes/ViewHelpers/Form/AbstractFormFieldViewHelper.php on line 311

This is due to ObjectAccess::getPropertyPath expects its second parameter to be a string (strict_types), which has been changed in 10.0 via #87332.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #87332: Avoid runtime reflection calls in ObjectAccessClosedAlexander Schnitzler2019-01-04

Actions
Actions #1

Updated by Gerrit Code Review over 3 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/c/Packages/TYPO3.CMS/+/68556

Actions #2

Updated by Jonas Götze over 3 years ago

  • Description updated (diff)
Actions #3

Updated by Gerrit Code Review over 3 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/c/Packages/TYPO3.CMS/+/68556

Actions #4

Updated by Mathias Brodala over 3 years ago

  • Is Regression set to Yes
Actions #5

Updated by Mathias Brodala over 3 years ago

  • Related to Task #87332: Avoid runtime reflection calls in ObjectAccess added
Actions #6

Updated by Gerrit Code Review over 3 years ago

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/c/Packages/TYPO3.CMS/+/68557

Actions #7

Updated by Gerrit Code Review over 3 years ago

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

Actions #8

Updated by Riccardo De Contardi over 3 years ago

  • Category set to Fluid
Actions #9

Updated by Gerrit Code Review over 3 years ago

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/+/68854

Actions #10

Updated by Jonas Götze over 3 years ago

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

Updated by Benni Mack over 3 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF