Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0052559Openbravo ERPA. Platformpublic2023-05-25 08:452023-05-25 08:51
AugustoMauch 
gonzalo_fernandez 
normalminoralways
closedfixed 
30Openbravo Appliance 14.04
 
PR23Q3 
approved
OBPS
Core
56208
No
0052559: In high volume windows drop down filter results are cleared by subsequent requests
In windows like Sales with a high volume of data, if we filter on the drop-down list (TableDir, Table), the results are overridden by the subsequent results.
1. Open high volume window like Sales order
2. Select a field in the grid that has a lot of results (Sales Representative, address, etc)
3. Filter in the field with any text like 'abc'
4. notice that the filtered results are displayed, but immediately, the results are removed and the default all data results are displayed.

Attached video of the simulation in a partner environment.
No tags attached.
Issue History
2023-05-25 08:45AugustoMauchNew Issue
2023-05-25 08:45AugustoMauchAssigned To => gonzalo_fernandez
2023-05-25 08:45AugustoMauchOBNetwork customer => OBPS
2023-05-25 08:45AugustoMauchModules => Core
2023-05-25 08:45AugustoMauchSupport ticket => 56208
2023-05-25 08:45AugustoMauchTriggers an Emergency Pack => No
2023-05-25 08:45AugustoMauchIssue generated from0051545
2023-05-25 08:49hgbotMerge Request Status => open
2023-05-25 08:49hgbotNote Added: 0150252
2023-05-25 08:49hgbotMerge Request Statusopen => approved
2023-05-25 08:51hgbotResolutionopen => fixed
2023-05-25 08:51hgbotStatusnew => closed
2023-05-25 08:51hgbotNote Added: 0150256
2023-05-25 08:51hgbotFixed in Version => PR23Q3
2023-05-25 08:51hgbotNote Added: 0150257

Notes
(0150252)
hgbot   
2023-05-25 08:49   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/894 [^]
(0150256)
hgbot   
2023-05-25 08:51   
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/894 [^]
(0150257)
hgbot   
2023-05-25 08:51   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: 635be594dfcfe67935d7c4b6b2907e0067df0a73
Author: Augusto Mauch <augusto.mauch@openbravo.com>
Date: 25-05-2023 08:51:10
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/635be594dfcfe67935d7c4b6b2907e0067df0a73 [^]

Fixes ISSUE-52559: Do not execute onResponse after hook if another request is ongoing

The problem was that some code that is executed when processing a response was not taking into account that a concurrent
datasource request might have been done, and the current local data of the component might be invalid (in "loading" status).

To fix it, if the after hook detects that the local data is being loaded, it will skip the computations so that the latest request
that is completed will be the one whose hook will succeed

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-fk-filter.js
---