The fix in 101461c5db introduced a new failure, only on Oracle (master #1408, stable-18.9.x #10): LiveDataIT.java:710 fails on the very first content assertion because "Esther" isn't on the first page.
Cause:
The initLocalization() call added to livedataLivetableTableLayoutWithCustomClass created the Translation page inside the test space, which is the space the Live Data lists (location=<test space>, limit="5"). The Live Data then listed 6 documents for 5 rows.
No sort is specified, so the Live Data sorts on doc.title. The O2 page (Esther) has an empty title.
On most databases "" sorts first, so the 6th row is the Translation page, which the test doesn't check, and the test passes.
On Oracle "" is NULL and {{NULL}}s sort last in ascending order, so O2 (Esther) is the row pushed to page 2. The rows rendered on CI (Nikolay, "", "", Lynda, "") match that order exactly.
The fix in 101461c5db introduced a new failure, only on Oracle (master #1408, stable-18.9.x #10): {{LiveDataIT.java:710}} fails on the very first content assertion because "Esther" isn't on the first page.
Cause: * The {{initLocalization()}} call added to {{livedataLivetableTableLayoutWithCustomClass}} created the {{Translation}} page inside the test space, which is the space the Live Data lists ({{location=<test space>}}, {{limit="5"}}). The Live Data then listed 6 documents for 5 rows. * No sort is specified, so the Live Data sorts on {{doc.title}}. The O2 page (Esther) has an empty title. * On most databases {{""}} sorts first, so the 6th row is the {{Translation}} page, which the test doesn't check, and the test passes. * On Oracle {{""}} is {{NULL}} and {{NULL}}s values sort last in ascending order, so O2 (Esther) is the row pushed to page 2. The rows rendered on CI (Nikolay, "", "", Lynda, "") match that order exactly.
Fix proposed in https://github.com/xwiki/xwiki-platform/pull/7036: create this test's translation page outside the listed space.
This message was sent by Atlassian Jira (v9.3.0#930000-sha1:287aeb6)
If image attachments aren't displayed, see this article.