Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
5.1 EE SP4 (5.1.7), 5.2 EE SP2 (5.2.6)
-
None
-
All
Description
Service builder does not correctly generate the ORDER BY clause of an SQL query if the tables uses a compound primary key. For example, a table has primary keys, column1, column2, .... The generated method currently sorts by table.column1. However, it should sort by table.id.column1.
UPGRADE NOTE:
To apply this bug fix to custom services, please run Service Builder again in the extension environment and for each portlet that uses Service Builder.
Attachments
Issue Links
- is related to
-
LPS-5433 ServiceBuilder doesn't generate proper Order By if sorting by a column that belongs to a compound PK
- Closed