Project

General

Profile

Actions

Bug #31374

closed

getProcessedValue does not work with items list and multiple selections

Added by Francois Suter about 13 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Should have
Category:
Backend User Interface
Target version:
Start date:
2011-10-28
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
5.3
Tags:
Complexity:
easy
Is Regression:
Sprint Focus:

Description

t3lib_BEfunc::getProcessedValue() is used throughout the Core to transform values stored as indices into human-readable values.

However for select-type fields based on a list of items (and not a foreign table) where multiple selections are possible, t3lib_BEfunc::getProcessedValue() fails to display anything. This is due to t3lib_BEfunc::getLabelFromItemlist(), which is unable to handle several values. Although this is clearly documented in the phpDoc of the method, I still think that it's a bug and it's quite trivial to improve this situation.

Patch exists and will follow very soon ;-)


Files

patch31374.png (129 KB) patch31374.png Francois Suter, 2011-11-21 22:15
Actions

Also available in: Atom PDF