Project

General

Profile

Actions

Bug #90449

closed

Wrong key calculation in Admin panel QueryInformation

Added by Tymoteusz Motylewski about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
AdminPanel
Target version:
-
Start date:
2020-02-20
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

the line

$identifier = sha1($query['sql']) . sha1(implode(',', $query['backtrace']));

in TYPO3\CMS\Adminpanel\Modules\Debug\QueryInformation
throws a notice "array to string conversion" and does not do what it should, because $query['backtrace'] is an 2 level array, so after implode the string is "Array, Array, Array" - see screenshot.


Files

query_info.png (205 KB) query_info.png Tymoteusz Motylewski, 2020-02-20 10:36

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #90458: Several places in the core throw php noticesClosed2020-02-20

Actions
Actions

Also available in: Atom PDF