[TYPO3-core] RFC #17682 Bug: itemsProcFunc is not taken into account while generating labels for select items in the list module

JoH asenau info at cybercraft.de
Sun Feb 20 14:35:22 CET 2011


This is an SVN patch request.

Type: Bugfix

Branches: 4.5 and trunk

BT: http://bugs.typo3.org/view.php?id=17682

Problem:

While working with records listings in the list module you can activate 
different fields to be shown in the list of records of any table that is 
present in the current page.


Solution:

Attached patch will apply the itemsProcFunc before using 
t3lib_BEfunc::getProcessedValueExtra to make sure the array of items 
matches the one that is used by the page module.


Additional Information:

The list will show checkbox, radio and/or select fields as well and 
display the selected values for each record in the list.

But this display does not respect any changes to the list done by 
itemsProcFunc although the labels are changed when you open a record to 
edit it. This results in a completely different set of labels used by 
the list module, which can be easily triggered when using the new grid view.

While there are lots of new columns and labels available in the page 
module, there is still just Left, Normal, Right, Border for the values 
1,0,2,3 in the list view, leaving the rest of the possible values with 
an empty label.


Cheers

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 17682.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20110220/90e58f04/attachment.txt>


More information about the TYPO3-team-core mailing list