Skip to content

getFormatted() on repeater matrix (and probably repeater) items results in all items having outputformatting turned on for subsequent requests. #2105

@adrianbj

Description

@adrianbj

Hi @ryancramerdesign - not really sure if this is a bug or not, but if you call: $page->getFormatted('rm_field') then all items will end up with outputformatting on. I assumed it would get the formatted value, but not change it's status if called again.

This demonstrates the issue.

Image

Is this intended behavior, or a bug?

I can "fix it" by looping through and turning it off for each item.

Image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions