Skip to content

Handle null values in children sort fields#398

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

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

Conversation

@limenet
Copy link

@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

sonarqubecloud bot commented Mar 5, 2026

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