Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0024227Openbravo ERPA. Platformpublic2013-06-29 14:532013-09-15 08:01
shuehner 
shuehner 
normalminorhave not tried
closedduplicate 
5
 
 
shankarb
Core
No
0024227: When opening a window the request to update the RecentViewList is sent twice
When opening a window the recent view list if updated to add that window.

The request to do that is fired twice it seems with the same or similar data.

[http-8080-2] INFO org.openbravo.utils.CharsetFilter - Time 34 - POST /openbravo/org.openbravo.client.kernel property=OBUIAPP_RecentViewList&system=false&_action=org.openbravo.client.application.StorePropertyActionHandler

[http-8080-2] INFO org.openbravo.utils.CharsetFilter - Time 24 - POST /openbravo/org.openbravo.client.kernel property=OBUIAPP_RecentViewList&system=false&_action=org.openbravo.client.application.StorePropertyActionHandler
Open i.e. Sales Order window
Watch network traffic or calls to StorePropertyActionHandler
notice it getting called twice.
Performance
duplicate of defect 00246983.0MP28 closed shankarb When opening a window two request to save the view on recent view section are send 
Issue History
2013-06-29 14:53shuehnerNew Issue
2013-06-29 14:53shuehnerAssigned To => AugustoMauch
2013-06-29 14:53shuehnerModules => Core
2013-06-29 14:53shuehnerTriggers an Emergency Pack => No
2013-06-29 14:53shuehnerTag Attached: Performance
2013-07-11 10:18shankarbNote Added: 0059947
2013-07-11 10:18shankarbAssigned ToAugustoMauch => shuehner
2013-07-11 10:18shankarbStatusnew => feedback
2013-09-15 08:01shankarbReview Assigned To => shankarb
2013-09-15 08:01shankarbRelationship addedduplicate of 0024698
2013-09-15 08:01shankarbNote Added: 0061153
2013-09-15 08:01shankarbStatusfeedback => closed
2013-09-15 08:01shankarbResolutionopen => duplicate

Notes
(0059947)
shankarb   
2013-07-11 10:18   
Hi Stefan,
I think two calls are made to OBUIAPP_RecentViewList and UINAVBA_MenuRecentList when opening any window. One is for recent view list and other is to add it to the recent launched in quick launch. These are the two requests done to StorePropertyActionHandler.

http://localhost:8080/openbravo/org.openbravo.client.kernel?property=OBUIAPP_RecentViewList&system=false&_action=org.openbravo.client.application.StorePropertyActionHandler [^]

http://localhost:8080/openbravo/org.openbravo.client.kernel?property=UINAVBA_MenuRecentList&system=false&_action=org.openbravo.client.application.StorePropertyActionHandler [^]

The data sent is the same for both the cases. But I think this is correct. What do you think? In case this can be reproduced by any other means, please let me know.

Thanks,
Shankar
(0061153)
shankarb   
2013-09-15 08:01   
The same issue is also added in issue 24698. But since its OBNetwork customer issue, closing this issue as duplicate.