FluidTYPO3 / flux

TYPO3 extension Flux: Dynamic Fluid FlexForms
https://fluidtypo3.org
146 stars 212 forks source link

Undefined array key "native" & "position" in AbstractFieldViewHelper - TYPO3 v12 #2128

Closed Apen closed 1 year ago

Apen commented 1 year ago

Hi,

I have 2 warnings on the last "development" version with the last TYPO3 v12 version.

PHP Warning: Undefined array key "native" in fluidtypo3/flux/Classes/ViewHelpers/Field/AbstractFieldViewHelper.php line 165
PHP Warning: Undefined array key "position" in fluidtypo3/flux/Classes/ViewHelpers/Field/AbstractFieldViewHelper.php line 166
NamelessCoder commented 1 year ago

@Apen can you tell from the messages which specific ViewHelper class which extends the AbstractFieldViewHelper is actually causing this? Those arguments should be in place in any Field ViewHelper which calls parent::initializeArguments and I'd like to fix this by correcting the cause rather than treating the symptom by ignoring the errors in AbstractFormViewHelper.

Apen commented 1 year ago

I cannot reproduce the bug... So its good for me. Thanks again Claus 👍

olegkarun commented 1 year ago

If add native="" warning despaired TYPO3 11.5.31, FLUX 10.0.0-10.0.6 I have that issue when update my PHP version from 7.4 -> 8.2