Skip to content

Handle null values in children sort fields#398

Open
limenet wants to merge 1 commit intopimcore:2.5from
limenet:patch-1
Open

Handle null values in children sort fields#398
limenet wants to merge 1 commit intopimcore:2.5from
limenet:patch-1

Conversation

@limenet
Copy link
Copy Markdown

@limenet limenet commented Mar 5, 2026

Changes in this pull request

\Pimcore\Bundle\GenericDataIndexBundle\Enum\SearchIndex\FieldCategory\SystemField\SystemFieldTrait::getData can return null. However, \Pimcore\Bundle\GenericDataIndexBundle\Model\Search\DataObject\SearchResult\DataObjectSearchResultItem::setChildrenSortBy and \Pimcore\Bundle\GenericDataIndexBundle\Model\Search\DataObject\SearchResult\DataObjectSearchResultItem::setChildrenSortOrder do not accept null and have strict types enabled.

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Mar 5, 2026

@herbertroth herbertroth changed the base branch from 2.4 to 2.5 April 7, 2026 08:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants