Skip to content

CriteriaBuilder does not support nested fetch paths when paginating #2097

@Mobe91

Description

@Mobe91

When using CriteriaBuilder.fetch() with nested paths the join fetches are not present in the object query with pagination.
As a workaround, the subpaths have to be passed to fetch() individually, but this shouldn't be necessary:
Won't work with pagination:

cb.fetch("document.owner")

Workaround:

cb.fetch("document", "document.owner")

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions