Project

General

Profile

Actions

Bug #23008

closed

getSpriteIconForRecord() accepts row data which is not an array

Added by Jigal van Hemert over 14 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2010-06-26
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.4
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

t3lib_iconWorks::getSpriteIconForRecord() has as second parameter the data row for which the icon must be found.
If an integer is passed as argument this is not detected and various actions inside the function result in a wrong icon/overlay being returned.

By forcing the argument to be an array the results are correct.

(issue imported from #M14880)


Files

iconworks.diff (644 Bytes) iconworks.diff Administrator Admin, 2010-06-26 15:51

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #23306: DB browser is unusableClosedSteffen Ritter2010-07-29

Actions
Related to TYPO3 Core - Bug #23455: PHP Catchable Fatal on table 'be_users' during EXPORTClosedGeorg Ringer2010-08-26

Actions
Actions #1

Updated by Susanne Moog over 14 years ago

rev 8098, 8099

Actions #2

Updated by Ernesto Baschny about 11 years ago

  • Target version deleted (0)
  • Is Regression set to No

To add some info to this old issue:

The method getSpriteIconForRecord was introduced with 4.4.0.

The change of signature from this issue was introduced in 4.4.1 and 4.5.0. So only "4.4.0" (and some early alpha/beta releases) ever had this method with a "wrong signature".

Actions

Also available in: Atom PDF