Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0027405Openbravo ERPA. Platformpublic2014-08-21 12:112014-08-25 08:03
AugustoMauch 
AugustoMauch 
urgentmajorhave not tried
closedfixed 
5
 
3.0PR14Q43.0PR14Q4 
shankarb
Core
No
0027405: Problems filtering P&E grids in slow environments
The is a problem when filtering the P&E grids with the following conditions:
- There are some records selected
- A request is done to the grid datasource while other previous request is in progress. This can be done by filtering a text field one keystroke at a time, if the server is slow.

When this happens, an error is shown in the javascript console and the records are not filtered properly.
- Install the attached patch. It will simulate a slow server, and it will provide a P&E with more than 100 records.
- Compile
- Open the Sales Invoice window
- Select a record with Total Outstanding > 0
- Click on the Add Payment Button. The Order/Invoice grid should have lots of records.
- Enter a '1' in the Invoice No filter, and a '2' just after the Loading data message is shown. An errror will be shown in the javascript console and the grid will not be filtered properly.
No tags attached.
diff testIssue27405.diff (1,972) 2014-08-21 12:12
https://issues.openbravo.com/file_download.php?file_id=7148&type=bug
Issue History
2014-08-21 12:11AugustoMauchNew Issue
2014-08-21 12:11AugustoMauchAssigned To => AugustoMauch
2014-08-21 12:11AugustoMauchModules => Core
2014-08-21 12:11AugustoMauchTriggers an Emergency Pack => No
2014-08-21 12:12AugustoMauchFile Added: testIssue27405.diff
2014-08-21 12:14AugustoMauchIssue Monitored: shankarb
2014-08-21 12:14AugustoMauchReview Assigned To => shankarb
2014-08-21 12:16hgbotCheckin
2014-08-21 12:16hgbotNote Added: 0069568
2014-08-21 12:16hgbotStatusnew => resolved
2014-08-21 12:16hgbotResolutionopen => fixed
2014-08-21 12:16hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/12574ebf963a9a8a9a84da1cf84dcfa1f2384d5f [^]
2014-08-22 04:18hudsonbotCheckin
2014-08-22 04:18hudsonbotNote Added: 0069594
2014-08-25 08:03shankarbNote Added: 0069696
2014-08-25 08:03shankarbStatusresolved => closed
2014-08-25 08:03shankarbFixed in Version => 3.0PR14Q4

Notes
(0069568)
hgbot   
2014-08-21 12:16   
Repository: erp/devel/pi
Changeset: 12574ebf963a9a8a9a84da1cf84dcfa1f2384d5f
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Thu Aug 21 12:14:32 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/12574ebf963a9a8a9a84da1cf84dcfa1f2384d5f [^]

Fixes issue 27405: Problems filtering P&E grids in slow environments

The problem was that when the response of the first datasource request was received, the second one was already in progress, so the grid local data only contained 'loading' records. At that point the grid local data was not accessible. To fix this, now it takes into accout if the grid local data can be accessed.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-pick-and-execute-grid.js
---
(0069594)
hudsonbot   
2014-08-22 04:18   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/077608c0d57c [^]
Maturity status: Test
(0069696)
shankarb   
2014-08-25 08:03   
Code reviewed and verified in pi changeset 09ce5c4deb2b.