We're updating the issue view to help you get more done. 

Selecting a joined element collection produces wrong SQL

Description

The attached example project reproduces the error.

Joining an element collection and then selecting the joined alias produces SQL that fetches the "id" column of the collection table although there is no such column. I would expect that it fetches all properties of the collection table.

Environment

None

Status

Assignee

Christian Beikov

Reporter

Christian Beikov

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

5.0.7
4.3.11
4.2.21

Priority

Major