Bug #90449

Wrong key calculation in Admin panel QueryInformation

Added by Tymoteusz Motylewski about 1 year ago. Updated about 1 year 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

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

Actions
#1

Updated by Tymoteusz Motylewski about 1 year ago

  • Description updated (diff)
#2

Updated by Nikita Hovratov about 1 year ago

  • Related to Bug #90458: Several places in the core throw php notices added
#3

Updated by Daniel Goerz about 1 year ago

  • Description updated (diff)
#4

Updated by Gerrit Code Review about 1 year ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/63351

#5

Updated by Gerrit Code Review about 1 year ago

Patch set 1 for branch 9.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/63299

#6

Updated by Susanne Moog about 1 year ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
#7

Updated by Benni Mack about 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF