Actions
Bug #17665
closedspan title appears in the recrd header
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2007-10-10
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.1
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Scenario:
the foreign config type is group/db;
the record title is cropped
then "<span title=" appears in record header
I think that the problem is the double call of the getRecordTitlePrep:
in the renderForeignRecordHeader function, if the foreign config type is group/db, it calls the getRecordTitle function
that calls getRecordTitlePrep; if the title is cropped it adds the tool tip
(a "<span title=" tag)
then the function renderForeignRecordHeader recalls getRecordTitlePrep
and the title is cropped again and it adds again the <span title tag
ciao,
Aldo
// Render title for everything else than group/db:
if ($foreignConfig['type'] != 'groupdb') {
$recTitle = t3lib_BEfunc::getProcessedValueExtra($foreign_table, $titleCol, $rec[$titleCol], 0, 0, false);
// Render title for group/db:
} else {
// $recTitle could be something like: "tx_table_123|...",
$valueParts = t3lib_div::trimExplode('|', $rec[$titleCol]);
$itemParts = t3lib_div::revExplode('_', $valueParts[0], 2);
$recTemp = t3lib_befunc::getRecordWSOL($itemParts[0], $itemParts[1]);
$recTitle = t3lib_BEfunc::getRecordTitle($itemParts[0], $recTemp, true);
}
$recTitle = t3lib_BEfunc::getRecordTitlePrep($recTitle);
(issue imported from #M6492)
Updated by Alexander Opitz over 11 years ago
- Status changed from New to Needs Feedback
- Target version deleted (
0)
The issue is very old, does this issue exists in newer versions of TYPO3 CMS (4.5 or 6.1)?
Updated by Alexander Opitz about 11 years ago
- Status changed from Needs Feedback to Closed
No feedback for over 90 days.
Actions