Bug #17057
closedRecord alt_label doesn't get processed
0%
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
Updated by Ralf Hettinger over 17 years ago
So sorry. Again a first version with a typo. Please use patch _1
Updated by Volker Graubaum over 17 years ago
sorry doesn't work fine, a few other things get mixed up
see attached patch
Updated by Volker Graubaum over 17 years ago
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 -)
Updated by Ralf Hettinger over 17 years ago
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?
Updated by Tobias Klepp over 17 years ago
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
Updated by Ralf Hettinger over 17 years ago
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.
Updated by Volker Graubaum over 17 years ago
Sorry, no time the last weeks,
solution will be found at the devDays :-)
Updated by Volker Graubaum over 17 years ago
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....
Updated by Ingo Schmitt over 17 years ago
Patch works for me fine. Would be great to have it in the core.