Bug #93798

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

Added by Jonas Götze 4 months ago. Updated 3 months 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

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

Actions
#1

Updated by Gerrit Code Review 4 months 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

#2

Updated by Jonas Götze 4 months ago

  • Description updated (diff)
#3

Updated by Gerrit Code Review 4 months 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

#4

Updated by Mathias Brodala 4 months ago

  • Is Regression set to Yes
#5

Updated by Mathias Brodala 4 months ago

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

Updated by Gerrit Code Review 4 months 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

#7

Updated by Gerrit Code Review 4 months 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

#8

Updated by Riccardo De Contardi 4 months ago

  • Category set to Fluid
#9

Updated by Gerrit Code Review 3 months 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

#10

Updated by Jonas Götze 3 months ago

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

Updated by Benni Mack 3 months ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF