Skip to content

Container Elements not rendering after Upgrade to v3.1.2 #580

@nstungcom

Description

@nstungcom

After upgrading Container to v3.1.2, container elements from pages other than the current one no longer render. However, all other elements render as expected. Downgrading to v3.1.1 restores the expected behavior.

This issue might be related to the following change: #575

  • TYPO3 v12.4.26 (with Workspaces installed)
  • Container v3.1.2
  • PHP v8.3.16
  • The test was performed without any Workspaces changes from PID 1 or PID 6

Minimal Code to Reproduce:

TypoScript (simplified):

lib.contentTest = COA
lib.contentTest {
    20 = CONTENT
    20 {
        table = tt_content
        select {
            includeRecordsWithoutDefaultTranslation = 1
            orderBy = sorting
            where = {#colPos}=0
            pidInList.current = 1
        }
    }
}

Fluid (simplified):

<f:comment>Render content from current page (lets say it's 1)</f:comment>
<f:cObject typoscriptObjectPath="lib.contentTest" data="1" />

<f:comment>Render content from PID 6</f:comment>
<f:cObject typoscriptObjectPath="lib.contentTest" data="6" />

Observed Behavior:
Container elements from PID 1 render correctly, but those from PID 6 do not. All other elements (Content elements e.g. Text) render as expected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions