Project

General

Profile

Actions

Bug #96380

closed

Warning in record list search

Added by JAKOTA Design Group GmbH almost 3 years ago. Updated about 2 years ago.

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

Screenshot 2021-12-17 at 13.45.56.png (40.5 KB) Screenshot 2021-12-17 at 13.45.56.png JAKOTA Design Group GmbH, 2021-12-17 12:46

Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #96453: PHP Warning: Undefined array key "eval" DatabaseRecordListClosed2022-01-04

Actions
Actions #1

Updated by JAKOTA Design Group GmbH almost 3 years ago

$evalRules = ($fieldConfig['eval'] ?? false) ?: '';

Actions #2

Updated by Oliver Hader almost 3 years ago

  • Status changed from New to Accepted
Actions #3

Updated by Oliver Hader almost 3 years ago

  • Category changed from DataHandler aka TCEmain to Code Cleanup
Actions #4

Updated by Christian Kuhn almost 3 years ago

  • Related to Bug #96453: PHP Warning: Undefined array key "eval" DatabaseRecordList added
Actions #5

Updated by Christian Kuhn almost 3 years ago

  • Related to deleted (Bug #96453: PHP Warning: Undefined array key "eval" DatabaseRecordList)
Actions #6

Updated by Christian Kuhn almost 3 years ago

  • Is duplicate of Bug #96453: PHP Warning: Undefined array key "eval" DatabaseRecordList added
Actions #7

Updated by Christian Kuhn almost 3 years ago

  • Status changed from Accepted to Resolved

recently fixed with #96453

Actions #8

Updated by Benni Mack about 2 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF