This issue has been created
There is 1 update.
 
 
XWiki Platform / cid:jira-generated-image-avatar-7d45fd72-97f9-4f61-ad85-c75032fd2d34 XWIKI-24421 Open

Filtering on LiveData User List column no longer updates after filtering by `(empty)`

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-ec9ea46e-f0fc-46ee-976a-ce4b3517990a Nikita Petrenko created this issue on 27/May/26 13:37
 
Summary: Filtering on LiveData User List column no longer updates after filtering by `(empty)`
Issue Type: cid:jira-generated-image-avatar-7d45fd72-97f9-4f61-ad85-c75032fd2d34 Bug
Affects Versions: 17.10.4
Assignee: Unassigned
Components: Live Data
Created: 27/May/26 13:37
Priority: cid:jira-generated-image-static-major-f965c9d5-c1f3-43ee-ad83-722797480773 Major
Reporter: Nikita Petrenko
Description:

Original reproduced in Jetty/HSQLDB XWiki 17.10.4, also reproduced in XWiki 17.10.8.

Steps to reproduce:

  1. Create custom AWM with one short text field and User list field
  2. Create several records with a filled-in list of users (create another one in advance) and one empty record
  3. Create livedata in any wiki page using below code
    ```
    {{velocity}}
    {{liveData
      showPageSizeDropdown="true"
      properties="doc.title, shortText1, user1"
      source="liveTable"
      sourceParameters="className=Test AWM.Code.Test AWMClass&translationPrefix=test awm.livetable."
      rowCount="15"
      maxPages="10"
      defaultOrder="asc"
    }}
    {
      "meta": {
        "propertyDescriptors": [
          {"id": "doc.title", "name": "Test AWM", "editable": false},
          {"id": "shortText1", "name": "ID Name", "editable": false},
          {"id": "user1", "name": "User List", "editable": false}
        ]
      }
    }
    {{/liveData}}
    {{/velocity}}
    ```
    
  4. Filter LiveData table by 3rd column, selecting firstly username and obtaining entry, and then selecting (empty)) to find empty records result, and try again to filter to obtain another result.

Actual result

After selecting (empty), LiveData correctly displays entries where the User List property is not filled.
However, if the filter is then changed to another user value (e.g. Administrator or anotherUser), the displayed results do not update and continue showing the previous (empty) filter results.
Only a full page refresh restores correct filtering behavior.

Expected result

After changing the filter value in the LiveData User List column (including switching from (empty) to another user value), the LiveData results should refresh accordingly and display only the entries matching the currently selected filter value.

 
 

1 update

 
cid:jira-generated-image-avatar-ec9ea46e-f0fc-46ee-976a-ce4b3517990a Changes by Nikita Petrenko on 27/May/26 13:37
 
Description: Original reproduced in Jetty/HSQLDB XWiki 17.10.4, also reproduced in XWiki 17.10.8.

h3. Steps to reproduce:

# Create custom AWM with one short text field and User list field
# Create several records with a filled-in list of users (create another one in advance) and one empty record
# Create {{livedata}} in any wiki page using below code


{noformat}

```
{{velocity}}
{{liveData
  showPageSizeDropdown="true"
  properties="doc.title, shortText1, user1"
  source="liveTable"
  sourceParameters="className=Test AWM.Code.Test AWMClass&translationPrefix=test awm.livetable."
  rowCount="15"
  maxPages="10"
  defaultOrder="asc"
}}
{
  "meta": {
    "propertyDescriptors": [
      {"id": "doc.title", "name": "Test AWM", "editable": false},
      {"id": "shortText1", "name": "ID Name", "editable": false},
      {"id": "user1", "name": "User List", "editable": false}
    ]
  }
}
{{/liveData}}
{{/velocity}}
```
{noformat}

# Filter LiveData table by 3rd column, selecting firstly username and obtaining entry, and then selecting {{(empty) ) }}   to find empty records result, and try again to filter to obtain another result.

h3. Actual result

After selecting {{
{} (empty) { }} } , LiveData correctly displays entries where the User List property is not filled.
However, if the filter is then changed to another user value (e.g. {{Administrator}} or {{
{} anotherUser { }} } ), the displayed results do not update and continue showing the previous {{(empty)}} filter results.
Only a full page refresh restores correct filtering behavior.

h3. Expected result

After changing the filter value in the LiveData User List column (including switching from {{(empty)}} to another user value), the LiveData results should refresh accordingly and display only the entries matching the currently selected filter value.