Affects Version/s: 7.1.10 DXP FP1, 7.1.10 DXP FP2, 7.1.X
Component/s: Core Infrastructure > Service Builder
Any OrderByComparator used in a db query executed by BasePersistenceImpl does not get applied. The query that's produced has no order by clause.
An example of the difference in the query between 7.1 DXP GA1 vs. 7.1.x-private hash c359f2f5238b, produced by the exact same module:
Notice at the end of the query that the order by clause is missing in the second query.
I think this occurs wherever BasePersistenceImpl is used – which is.... like everywhere.
Thanks to Alessio Rendina for noticing this issue!