Actions
Bug #51936
closedContentSlide works incorrect if last ContentElement is empty
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Content Rendering
Target version:
-
Start date:
2013-09-12
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
no-brainer
Is Regression:
No
Sprint Focus:
Description
When using ContentSlide and the last content element in a column returns an empty string, the slide continues up in the page list, even when there are other content elements in the column.
TypoScript:
contentRight < styles.content.get contentRight.select.where = colPos=1 contentRight.slide = -1
The 2-Byte fix is super simple.
In ContentContentObject.php change tmpValue to theValue in line 142:
} while ($again && ($slide && !strlen($theValue) && $slideCollectFuzzy || $slide && $slideCollect));
$tmpValue contains the content of the last processed content element. $theValue contains the html of the complete column.
This bug also affects previous TYPO3 Versions (6.1, 6.0, 4.5 etc)
Files
Actions