Actions
Bug #73733
closedCONTENTs slide.collect = -1 is not working correctly
Start date:
2016-02-29
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
The slide.collect property is not working like expected. I set up a t3d file to demonstrate the false behaviour and attached it. Just import it in a blank master version of typo3.
When using CONTENTs slide.collect = -1 to retrive all contents of a specified colPos the ouput is false. It seems that the content of the root page occurs the times pages/levels are present.
The behaviour only occurs in the current 7.6 Version. <= 6.2 is not effected.
Example-Setup:
Pages:
- Page root
- * Page level 1
- * * Page level 2
Content:
Each page has a text-content inside colPos 3.
Exmaple typoscript:
html = PAGE html { 10 = HMENU 10 { special = list 1 = TMENU 1 { expAll = 1 NO = 1 NO.wrapItemAndSub = <div>|</div> } 2 < .1 3 < .1 } 20 = CONTENT 20 { table = tt_content slide = -1 slide.collect = -1 select.where = colPos = 3 renderObj = COA renderObj { 10 = TEXT 10 { field = header stdWrap { required = 1 wrap = <h3>|</h3> } } 20 = TEXT 20 { field = bodytext } } } }
The Output in 7.6 on page Level 2:
Item on level 2
Item on level 1
Item on root
Item on root
Item on root
The Output in 6.2 on page Level 2:
Item on level 2
Item on level 1
Item on root
Files
Actions