There are 6 updates, 2 comments.
 
 
XWiki Platform / cid:jira-generated-image-avatar-8628389d-2a05-4742-a62a-ad777e9be24e XWIKI-24396 Closed

LiveDataIT.livedataLivetableTableLayoutWithCustomClass is flickering

 
View issue   ยท   Add comment
 

6 updates

 
cid:jira-generated-image-avatar-92a5e56f-90f8-4429-893c-0f6c554dd39f Changes by Vincent Massol on 20/Oct/26 15:29
 
Fix Version: 18.9.0-rc-1
Fix Version: 18.10.0-rc-1
Documentation in Release Notes: N/A
Documentation: N/A
Resolution: Fixed
Status: Open Closed
 
 

2 comments

 
cid:jira-generated-image-avatar-92a5e56f-90f8-4429-893c-0f6c554dd39f Vincent Massol on 20/Oct/26 15:26
 

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.

Fix proposed in https://github.com/xwiki/xwiki-platform/pull/7036: create this test's translation page outside the listed space.

 
cid:jira-generated-image-avatar-92a5e56f-90f8-4429-893c-0f6c554dd39f Vincent Massol on 20/Oct/26 15:26
 
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.