Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0029560Openbravo ERP09. Financial managementpublic2015-04-10 12:082015-05-07 22:16
egoitz 
caristu 
immediatemajoralways
closedfixed 
5
 
3.0PR15Q3 
alostale
Core
No
0029560: The addDetails popup does not respond after several seachs on grid with big amout of data.
On an environment with a lot of invoices to be selected onthe grid of the popup
when searching several times using a part of the documetno of the invoice, after some attemps, the grid shows loading data and does not respond
-Open the addDetail popup for a payment in that shows thousand of invoices.
-Select the first invoice which appears in the Order/Invoice grid
-Search for a invoice using a part of the documentno (using a string with length > 1)
-The grid is locked with loading text
Performance
related to defect 0029548 closed aferraz The new window to add transactions from payments is not working with a big amount of data 
related to defect 00320913.0PR16Q2 closed caristu The Order/Invoices grid in Add Details must always sort by selected records first 
Issue History
2015-04-10 12:08egoitzNew Issue
2015-04-10 12:08egoitzAssigned To => Sandrahuguet
2015-04-10 12:08egoitzModules => Core
2015-04-10 12:08egoitzTriggers an Emergency Pack => No
2015-04-10 12:09egoitzAssigned ToSandrahuguet => umartirena
2015-04-10 12:09egoitzTag Attached: Performance
2015-04-10 12:11egoitzRelationship addedrelated to 0029548
2015-04-14 12:48Triage FinanceAssigned Toumartirena => Triage Finance
2015-04-14 17:33aferrazNote Added: 0076534
2015-04-14 17:33aferrazAssigned ToTriage Finance => platform
2015-04-14 17:33aferrazSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=8240#r8240
2015-04-14 17:50aferrazNote Edited: 0076534bug_revision_view_page.php?bugnote_id=0076534#r8242
2015-04-16 08:21alostaleStatusnew => scheduled
2015-04-16 08:21alostaleAssigned Toplatform => caristu
2015-04-16 10:17caristuIssue Monitored: alostale
2015-04-16 10:23caristuReview Assigned To => alostale
2015-04-16 10:24hgbotCheckin
2015-04-16 10:24hgbotNote Added: 0076576
2015-04-16 10:24hgbotStatusscheduled => resolved
2015-04-16 10:24hgbotResolutionopen => fixed
2015-04-16 10:24hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/7b71a49c064490323f996f26b3b9cbc08c9c51e1 [^]
2015-04-24 14:46alostaleStatusresolved => closed
2015-04-24 14:46alostaleFixed in Version => 3.0PR15Q3
2015-05-07 22:16hudsonbotCheckin
2015-05-07 22:16hudsonbotNote Added: 0077132
2016-02-02 13:33caristuRelationship addedrelated to 0032091

Notes
(0076534)
aferraz   
2015-04-14 17:33   
(edited on: 2015-04-14 17:50)
An exception is raised when following steps: Uncaught BigDecimal(): Not a number: n,u,l,l

When typing a filter (string of length = 2) in the invoiceno column, waitting a second between each char, two requests are made (one for each char). When finishing the first request, data in the grid is not yet loaded and the following code inside updateInvOrderTotal function raises an exception (amt is null):
bdAmt = new BigDecimal(String(amt));

To simulate an environment with big amount of invoices, it can be added a sleep of 5 seconds at the beginning of getData method in HQLDataSourceService.java

(0076576)
hgbot   
2015-04-16 10:24   
Repository: erp/devel/pi
Changeset: 7b71a49c064490323f996f26b3b9cbc08c9c51e1
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Thu Apr 16 10:13:54 2015 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/7b71a49c064490323f996f26b3b9cbc08c9c51e1 [^]

fixes issue 29560: added function to check if the data is loaded in p&e grids

A check is added to prevent the execution of the on grid load functions if the local data is not loaded.
This problem could happen when a request is done and the load of a previous request has not finished.

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/process/ob-pick-and-execute-grid.js
---
(0077132)
hudsonbot   
2015-05-07 22:16   
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/a1817f84bd8b [^]
Maturity status: Test