[BUGFIX] getLabelsFromItemsList() returns no value 89/27689/4
authorXavier Perseguers <xavier@typo3.org>
Tue, 18 Feb 2014 13:01:31 +0000 (14:01 +0100)
committerHelmut Hummel <helmut.hummel@typo3.org>
Tue, 4 Mar 2014 17:09:50 +0000 (18:09 +0100)
commit9eb32aa08f4ee2e4af285129df162acced7b67f5
tree8502f0a37edd21268343fb535ae5c4d6645fca8e
parentf20ae08ec244133cff53acd52d17db746a0c85df
[BUGFIX] getLabelsFromItemsList() returns no value

Method getLabelsFromItemsList() is expected to return an empty list
when the column is populating items from a foreign_table configuration
option. Method getProcessedValue() is explicitly checking this to
retrieve the label from the corresponding foreign record if it could not
be resolved from the list of static items.

This reverts commits 5dd32b83e7085ed44713c9b97d5c2c47d820765e and
9596d4da3ac8110a76cb3eadabb9307b67971793 and moves the business logic
into method getProcessedValue().

Releases: 6.2, 6.1
Fixes: #54131
Change-Id: I15dcf0c4bcb76ecc85de8e3202b1376a24981b06
Reviewed-on: https://review.typo3.org/27689
Reviewed-by: Frans Saris
Tested-by: Frans Saris
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
typo3/sysext/backend/Classes/Utility/BackendUtility.php
typo3/sysext/backend/Tests/Unit/Utility/BackendUtilityTest.php