Bug #51936
closedContentSlide works incorrect if last ContentElement is empty
100%
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
Updated by Philipp Gampe about 11 years ago
You you push your changes to gerrit? http://wiki.typo3.org/CWT
Updated by Robert Vock about 11 years ago
I currently don't have my typo3 git setup at work. I can push in a few days, when I am at home and find the time
Updated by Gerrit Code Review about 11 years ago
- Status changed from New to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/23821
Updated by Gerrit Code Review about 10 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/23821
Updated by Gerrit Code Review about 10 years ago
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/32928
Updated by Gerrit Code Review about 10 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/32928
Updated by Gerrit Code Review about 10 years ago
Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/33482
Updated by Gerrit Code Review about 10 years ago
Patch set 2 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/33482
Updated by Robert Vock about 10 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset cf618ed384c9e78b36dc614143d287fdd7cb876a.