Collection doesn't load completely, has missing elements

Description

Criteria query with subcriteria that is left joined on collection property and has a restriction added via alias to the same subcriteria produces an object that may have collection elements missing.

Environment

None

Assignee

Unassigned

Reporter

Rostyslav Smirnov

Fix versions

None

Labels

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Affects versions

Priority

Major
Configure