Revert "[BUGFIX] Fix wrong column title in web>list for field colpos" 43/18943/3
authorChristian Kuhn <lolli@schwarzbu.ch>
Fri, 15 Mar 2013 15:02:25 +0000 (16:02 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Fri, 15 Mar 2013 15:25:43 +0000 (16:25 +0100)
This reverts commit 7a1aaf727d04f56252ca173a59489d2f77f9655a

The patch triggers warnings and errors in multiple extensions. Digging
into the details shows the implementation is neither finished nor
stable. See issue #25113 for a detailed analysis.

Change-Id: I07153613ecc062ecc777a45962f11d0b37cf8730
Related: #25113
Fixes: #45833
Releases: 6.1, 6.0, 4.7, 4.6, 4.5
Reviewed-on: https://review.typo3.org/18943
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/class.db_list_extra.inc

index e9b142e..83de4c7 100644 (file)
@@ -672,24 +672,6 @@ class localRecordList extends recordList {
 
                        $theIcon = $this->clickMenuEnabled ? $GLOBALS['SOBE']->doc->wrapClickMenuOnIcon($iconImg,$table,$row['uid']) : $iconImg;
 
-                       // Have labels respect possible itemsProcFunc results
-                       /** @var $formEngine t3lib_TCEforms */
-                       $formEngine = t3lib_div::makeInstance('t3lib_TCEForms');
-                       if(isset($GLOBALS['TCA'][$table]['columns'])) {
-                               foreach($GLOBALS['TCA'][$table]['columns'] as $field => $fieldSetup) {
-                                       if(isset($fieldSetup['config']['itemsProcFunc'])) {
-                                               $GLOBALS['TCA'][$table]['columns'][$field]['config']['items'] = $formEngine->procItems(
-                                                       $fieldSetup['config']['items'],
-                                                       $fieldSetup['config']['itemsProcFunc'],
-                                                       $fieldSetup['config'],
-                                                       $table,
-                                                       $row,
-                                                       $field
-                                               );
-                                       }
-                               }
-                       }
-
                                // Preparing and getting the data-array
                        $theData = Array();
                        foreach($this->fieldArray as $fCol)     {