This issue has been created
There is 1 update.
 
 
XWiki Platform / cid:jira-generated-image-avatar-c678b3fa-3a4d-4d9e-9efa-e8de5d163f8b XWIKI-25701 Open

Removing the last filter of a Live Data column fetches the entries twice

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-d5df0608-2b0d-420a-a7bf-7b39d17f0613 Manuel Leduc created this issue on 09/Nov/26 14:55
 
Summary: Removing the last filter of a Live Data column fetches the entries twice
Issue Type: cid:jira-generated-image-avatar-c678b3fa-3a4d-4d9e-9efa-e8de5d163f8b Bug
Affects Versions: 17.10.0
Assignee: Unassigned
Components: Live Data
Created: 09/Nov/26 14:55
Priority: cid:jira-generated-image-static-major-7fb20e25-cf79-441e-91d1-fcf3d6978697 Major
Reporter: Manuel Leduc
Description:

When the last filter constraint of a Live Data column is removed, LiveDataLogic.filter calls removeAllFilters, which fetches the entries, and then fetches them again itself. The first request is aborted, but the server still processes it, and the loading indicator can blink.

Steps to reproduce

  1. Open the document index.
  2. Type a value in the Title filter and wait for the results.
  3. Clear the filter.
  4. Look at the network requests: two /rest/liveData/sources/.../entries requests are sent, the first one cancelled.

Expected: one request.

 
 

1 update

 
cid:jira-generated-image-avatar-d5df0608-2b0d-420a-a7bf-7b39d17f0613 Changes by Manuel Leduc on 09/Nov/26 14:55
 
Fix Version: 18.10.0-rc-1