Closed eckonator closed 6 months ago
I ran into the same issue, it is already fixed (development branch): issue https://github.com/FluidTYPO3/flux/issues/2151 / pull request https://github.com/FluidTYPO3/flux/pull/2156
Flux 10.0.10 has been released which contains the mentioned fix.
I have checked that the bug exists in the
dev-development
branch YesI have checked that there are no already open issues or recently closed issues about this bug Yes
Describe the bug
I got for each contentelement in listview this error: PHP Warning: Undefined array key "colPos" in /flux/Classes/Integration/Overrides/BackendLayoutView.php line 118)
Screenshots
Additional context This fixed the wrong behavior for me:
Original Code
$parentRecordUid = ColumnNumberUtility::calculateParentUid((integer) $this->record['colPos']);
Changed Code
$parentRecordUid = ColumnNumberUtility::calculateParentUid((int) ($this->record['colPos'] ?? 0));
Please merge it to next patch-level.