Bug #25409

t3lib_iconWorks::getSpriteIconForRecord() isn't workspace aware

Added by Tolleiv Nietsch over 4 years ago. Updated almost 2 years ago.

Status:Closed Start date:2011-03-28
Priority:Should have Due date:
Assigned To:- % Done:

0%

Category:Workspaces Spent time: -
Target version:-
TYPO3 Version:4.4 Is Regression:No
PHP Version:5.3 Sprint Focus:
Complexity:

Description

t3lib_iconWorks::getSpriteIconForRecord() doesn't detect elements deleted in a workspace (indicated with t3ver_state=2). Therefore elements deleted in a workspace will still keep their "original" icon

(issue imported from #M18054)


Related issues

duplicated by Core - Bug #25372: PHP Catchable Fatal Error: t3lib_iconWorks::getSpriteIcon... Closed 2011-03-22

History

#1 Updated by Fedir RYKHTIK almost 4 years ago

  • Target version deleted (0)

Looks like this issue is related to #25372, there are bugs with t3lib_iconWorks::getSpriteIconForRecord() in workspaces

#2 Updated by Ernesto Baschny almost 2 years ago

  • Is Regression set to No

The problem is most probably not in getSpriteIconForRecord, but must be in the code around it, that assumes that there is a record when there is not. Thanks to the type hinting of getSpriteIconForRecord we get at least to see some sort of error here, indicating that something is wrong. Remains to be further analysed.

#3 Updated by Ernesto Baschny almost 2 years ago

  • Category set to Workspaces
  • Status changed from New to Closed

Duplicate of #25372 (also workspaces related).

Also available in: Atom PDF