AutoPrefix of bare property does not apply if field is aliased

Description

The method _autoAliasBareProperty (which should be renamed to _autoPrefixBareProperty) does not prefix a property name if it is aliased in the SQL.

So:

"name" will be prefixed to "objectName.name"

But:

"name as label" will not be prefixed; should become "objectName.name as label".

(Above examples would also include db-specific escaping if enabled).

Environment

None

Status

Assignee

Seb Duggan

Reporter

Seb Duggan

Labels

None

Accepted

Yes

Fix versions

Affects versions

10.10.63

Priority

Medium
Configure