Issue Bug Closed

#51936ContentSlide works incorrect if last ContentElement is empty

Robert Vock 09/12/13, 10:55 updated 10/02/18, 12:10

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)

Reviews 3