Issue Bug Resolved

#109302PAGEVIEW cObject should be able to handle record-transformation dataprocessor

Jakub Zgirski 03/20/26, 12:06 updated 11/04/26, 14:15

Description

Currently, when rendering a page content using the cObject PAGEVIEW, we cannot process the page data in any way. For this reason, it is difficult to retrieve, for example, IRRE records that are assigned to that page. This is likely because PAGEVIEW returns raw data in `page.pageRecord`, and `record-transformation` can’t handle it. One possible solution to the problem could be PAGEVIEW to also return the `data` key with raw data page, or `page.pageRecord` should be already transformed to Record type. I’m not sure which change would be more invasive or likely to break things.

To reproduce:

page = PAGE
page.10 = PAGEVIEW
page.10 {
    paths {
        100 = EXT:sitepackage/Resources/Private/PageView/
    }
    dataProcessing {
        30 = record-transformation
    }
}

And it returns exception:
clipboard-202603201300-sbfzd.png

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.

Files 1

History 3

  1. Oliver Bartsch commented and changed status New Resolved <span data-processor="relativetime" data-value="2026-11-04T14:15:20+00:00" > 11/04/26, 14:15 </span>

    Applied in changeset commit:083f75428ca21224842a818d02f829a208ddbb14.