Project

General

Profile

Actions

Bug #73733

closed

CONTENTs slide.collect = -1 is not working correctly

Added by Christian Stern about 8 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
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

T3D__2016-02-29_09-27-z.t3d (3.17 KB) T3D__2016-02-29_09-27-z.t3d Complete t3d-export to deomstrate the false behaviour Christian Stern, 2016-02-29 10:28

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #69941: slide of cObject CONTENT don't work properlyClosedJo Hasenau2015-09-18

Actions
Actions

Also available in: Atom PDF