Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0031544Openbravo ERPA. Platformpublic2015-11-20 10:452022-02-01 08:05
shuehner 
Triage Platform Base 
highminorhave not tried
acknowledgedopen 
5
 
 
Core
No
0031544: Double DS data load request on refresh of child tab in a specific case.
Found in one specific butler table.

Having grid view of that scenario described in steps to reproduce open triggers on top of the expected DS requests 1 additional request with a useless criteria.

Preparation:
Login to butler ERP ui.
Open 'Central Repository window'
Filter parent tab in column java packaeg for value 'org.openbravo.apache'
will show 1 grid row
Select that 1 grid row (stay in grid mode)
in child tab 'module versions'
filter with value '27657'
Result -> single row
So now both parent+child have grid view open with single row each.

Open browser netpanel and clear history
Press 'refresh' button in toolbar
Observe DS requests to 'OBUCR_Module_Version' datasource and notice 2

Checking both in detail shows 1 on of them to have the 'expected' params (@OBUCR_Module.id@' = value of parent
+ also a criteria with similar scope.

But 2nd request does have all those @OBUCR_Module* as null
and also filters field:module, operator=equals and value =-1
which is not useful at all at looks like some dummy value.
Remove that 2nd useless request
Performance
png request_bad.png (118,080) 2015-11-20 10:45
https://issues.openbravo.com/file_download.php?file_id=8751&type=bug
png

png request_good.png (121,419) 2015-11-20 10:45
https://issues.openbravo.com/file_download.php?file_id=8752&type=bug
png
Issue History
2015-11-20 10:45shuehnerNew Issue
2015-11-20 10:45shuehnerAssigned To => platform
2015-11-20 10:45shuehnerFile Added: request_bad.png
2015-11-20 10:45shuehnerModules => Core
2015-11-20 10:45shuehnerTriggers an Emergency Pack => No
2015-11-20 10:45shuehnerFile Added: request_good.png
2015-11-20 10:46shuehnerNote Added: 0082010
2015-11-20 10:56alostalePrioritynormal => high
2015-11-20 10:56alostaleStatusnew => acknowledged
2015-11-20 10:56alostaleTag Attached: Performance
2016-12-01 13:24alostalePriorityhigh => normal
2016-12-01 14:05alostalePrioritynormal => urgent
2016-12-01 14:05alostalePriorityurgent => high
2022-02-01 08:05alostaleAssigned Toplatform => Triage Platform Base

Notes
(0082010)
shuehner   
2015-11-20 10:46   
core module version in butler where this was reproduced was ( 3.0.27639 (some PR15Q4 candidate))