Actions
Bug #96380
closedWarning in record list search
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Code Cleanup
Target version:
-
Start date:
2021-12-17
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
11
PHP Version:
8.0
Tags:
Complexity:
no-brainer
Is Regression:
Sprint Focus:
Description
If you search for an record id in the record list, this happens:
TYPO3\CMS\Core\Error\Exception
PHP Warning: Undefined array key "eval" in /var/www/public/typo3/sysext/recordlist/Classes/RecordList/DatabaseRecordList.php line 2644
line 2644 is
$evalRules = $fieldConfig['eval'] ?: '';
needs to be like
$evalRules = $fieldConfig['eval'] ?? null ?: '';
Thanks
Files
Updated by JAKOTA Design Group GmbH almost 3 years ago
$evalRules = ($fieldConfig['eval'] ?? false) ?: '';
Updated by Oliver Hader almost 3 years ago
- Category changed from DataHandler aka TCEmain to Code Cleanup
Updated by Christian Kuhn almost 3 years ago
- Related to Bug #96453: PHP Warning: Undefined array key "eval" DatabaseRecordList added
Updated by Christian Kuhn almost 3 years ago
- Related to deleted (Bug #96453: PHP Warning: Undefined array key "eval" DatabaseRecordList)
Updated by Christian Kuhn almost 3 years ago
- Is duplicate of Bug #96453: PHP Warning: Undefined array key "eval" DatabaseRecordList added
Updated by Christian Kuhn almost 3 years ago
- Status changed from Accepted to Resolved
recently fixed with #96453
Actions