Closed (fixed)
Project:
Commerce Core
Version:
8.x-2.x-dev
Component:
Developer experience
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Mar 2019 at 23:18 UTC
Updated:
27 Mar 2019 at 14:19 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
bojanz commentedComment #3
czigor commentedI can reproduce the failure with PostgreSQL 11.
Comment #4
czigor commentedThe issue is that mysql and postgresql sorts the strings "My Colors & Sizes - FIRST" and "My Colors - FIRST" differently. See the two attached screenshots, one made with postgreSQL, the other with MySQL.
Let's rename the products so that sorting is not ambiguous.
Comment #5
czigor commentedThis passes locally.
Comment #6
bojanz commentedWe should then apply the same naming pattern in other cases too (I believe there is a SECOND after a FIRST).
Comment #7
czigor commentedWhat do you mean? FIRST is supposed to be referring to the place in the list? (We had 3 FIRST products.)
Comment #8
bojanz commentedNevermind, I was looking at the wrong test.
We have a MultipleCartMultipleVariationTypesTest functional test and a MultipleCartMultipleVariationTypesTest functional javascript test. Having them named the same is... confusing.
Comment #9
bojanz commentedComment #10
bojanz commentedModified the other test to match as well.
Comment #12
bojanz commentedCommitted. Thanks, Andras!