Bug #17057
closed
Record alt_label doesn't get processed
Added by Ralf Hettinger over 17 years ago.
Updated over 16 years ago.
Description
This one is somehow related to http://bugs.typo3.org/view.php?id=4943 according to the concerned function. But this bug here has another topic: alt_labels aren't processed anymore (e.g. datetime evaluation) - a regression since version 4.0.
The reason is that the processing functionality was removed from typo3/class.db_list_extra.inc and it seems plausible to do this in t3lib_BEfunc::getRecordTitle because alt_labels are handled anyway.
Attached patch is not against SVN but against 4.1.0RC2. Functionality of David Bruehlmeier's patch in bug 4943 is applied (code of the attached patch might be slightly faster if no label_alt_force is set by avoiding one if clause).
(issue imported from #M5094)
Files
So sorry. Again a first version with a typo. Please use patch _1
sorry doesn't work fine, a few other things get mixed up
see attached patch
Additional information to this bug:
1) no alt_label is used anymore, if label_alt_force is NOT set, also
the label ist empty
2) the alt_label isn't parsed, but this seemed to be also in the title
will have a look at it later this afternoon -)
Volker, I must admit that I don't understand why you suggest a second loop within the first one. I don't think that this will help but potentially will slow the list module down.
Could you let me know which other things got messed up by the first patch, please?
Hello,
I have a problem with the list view in the backend. After the update to the version 4.1.1 the date in the list view is not formated as date, only the timestamp is indicated. This concerns only the title column, not additional columns, which are set manually.
Geetings, Tobias Klepp
Attached patch 5094_v2.patch against 4.1.1 is known to solve Tobias Klepp's issue and issues that might come up for tt_news label fields.
I still have no idea which "other things might get mixed up" but have none of them experienced so far.
@Volker Graubaum: Your feedback would be very welcome.
Sorry, no time the last weeks,
solution will be found at the devDays :-)
Still not sure, what I meant, except I now detected das IRRE don't use label_alt.
Change you're last patch, so
$t = t3lib_BEfunc::getProcessedValue($table,$fN,$t);
comes before the label_alt_force check, since it should also parse "normal" alt labels....
Patch works for me fine. Would be great to have it in the core.
Fixed in TYPO3_4-1 and Trunk.
Also available in: Atom
PDF