Comments

bojanz created an issue. See original summary.

bojanz’s picture

Title: MultipleCartMultipleVariationTypesTest is failing on MySQL 8 » MultipleCartMultipleVariationTypesTest is failing on MySQL 8 and PostgreSQL 9.1
Issue summary: View changes
czigor’s picture

I can reproduce the failure with PostgreSQL 11.

czigor’s picture

StatusFileSize
new88.61 KB
new85.4 KB

The 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.

czigor’s picture

Status: Active » Needs review
StatusFileSize
new2.95 KB

This passes locally.

bojanz’s picture

Status: Needs review » Needs work

We should then apply the same naming pattern in other cases too (I believe there is a SECOND after a FIRST).

czigor’s picture

What do you mean? FIRST is supposed to be referring to the place in the list? (We had 3 FIRST products.)

bojanz’s picture

Nevermind, 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.

bojanz’s picture

Status: Needs work » Needs review
bojanz’s picture

StatusFileSize
new6.43 KB

Modified the other test to match as well.

  • bojanz committed 9ccd9fb on 8.x-2.x authored by czigor
    Issue #3039274 by czigor, bojanz: MultipleCartMultipleVariationTypesTest...
bojanz’s picture

Status: Needs review » Fixed

Committed. Thanks, Andras!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.