Bug #34045
Bug when no translation exists
| Status: | Resolved | Start date: | 2012-02-17 | |
|---|---|---|---|---|
| Priority: | Must have | Due date: | ||
| Assignee: | Jo Hasenau | % Done: | 0% |
|
| Category: | - | Spent time: | - | |
| Target version: | - | |||
| TYPO3 Version: | PHP Version: | |||
| Votes: | 0 |
Description
Render CE also when there is no translation. Get a NULL value.
To prevent this change in file class.tx_gridelements_pi1.php line 168
if (is_array($rawChildren) && count($rawChildren) >= 1) {
foreach ($rawChildren as $child) {
$GLOBALS['TSFE']->sys_page->versionOL('tt_content', $child);
$children[] = $this->languageOverlay($child);
}
}
to
if (is_array($rawChildren) && count($rawChildren) >= 1) {
foreach ($rawChildren as $child) {
$GLOBALS['TSFE']->sys_page->versionOL('tt_content', $child);
if ($overlay = $this->languageOverlay($child)) {
$children[] = $overlay;
}
}
}
Thanks!
History
Updated by Jo Hasenau about 1 year ago
- Status changed from New to Resolved
- Assignee set to Jo Hasenau
- Priority changed from Should have to Must have
Fixed in current trunk.