Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0036610 | Openbravo ERP | A. Platform | public | 2017-08-04 13:42 | 2018-01-03 12:38 | |||||||
Reporter | shuehner | |||||||||||
Assigned To | inigosanchez | |||||||||||
Priority | high | Severity | minor | Reproducibility | have not tried | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | 3.0PR18Q1 | ||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | alostale | |||||||||||
OBNetwork customer | ||||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0036610: 3* flush called to insert/save 1 record in generated windows | |||||||||||
Description | Apart of reviewing if all 3 3 flushes are required. Also interesting to check DAL session content i.e. in last 3rd flush to see if it is really required to load all those object into the session. 1.) 593613 [http-bio-8080-exec-1] INFO org.openbravo.dal.service.OBDal - Content of session: {ADTab=1} 593613 [http-bio-8080-exec-1] INFO org.openbravo.dal.service.OBDal - Flush of 1 entities and 12 collections took: 1 java.lang.Throwable at org.openbravo.dal.service.OBDal.flush(OBDal.java:293) at org.openbravo.service.json.DefaultJsonDataService.doPreAction(DefaultJsonDataService.java:1126) at org.openbravo.service.json.DefaultJsonDataService.update(DefaultJsonDataService.java:887) at org.openbravo.service.json.DefaultJsonDataService.add(DefaultJsonDataService.java:868) at org.openbravo.service.datasource.DefaultDataSourceService.add(DefaultDataSourceService.java:219) at org.openbravo.service.datasource.DefaultDataSourceService.add(DefaultDataSourceService.java:210) at org.openbravo.service.datasource.DataSourceServlet.doPost(DataSourceServlet.java:853) 2.) 593634 [http-bio-8080-exec-1] INFO org.openbravo.dal.service.OBDal - Content of session: {ADClient=2, ADLanguage=1, ADTab=1, ADUser=2, BusinessPartner=1, BusinessPartnerLocation=1, DocumentType=1, MaterialMgmtShipmentInOut=1, Organization=2, Warehouse=1} 593634 [http-bio-8080-exec-1] INFO org.openbravo.dal.service.OBDal - Flush of 13 entities and 327 collections took: 4 java.lang.Throwable at org.openbravo.dal.service.OBDal.flush(OBDal.java:293) at org.openbravo.service.json.DefaultJsonDataService.update(DefaultJsonDataService.java:935) at org.openbravo.service.json.DefaultJsonDataService.add(DefaultJsonDataService.java:868) at org.openbravo.service.datasource.DefaultDataSourceService.add(DefaultDataSourceService.java:219) at org.openbravo.service.datasource.DefaultDataSourceService.add(DefaultDataSourceService.java:210) at org.openbravo.service.datasource.DataSourceServlet.doPost(DataSourceServlet.java:853) 3.) 593649 [http-bio-8080-exec-1] INFO org.openbravo.dal.service.OBDal - Content of session: {ADClient=2, ADLanguage=1, ADUser=3, BusinessPartner=1, BusinessPartnerLocation=1, DocumentType=1, MaterialMgmtShipmentInOut=1, Organization=3, ShipmentInOut_ComputedColumns=1, Warehouse=1} 593649 [http-bio-8080-exec-1] INFO org.openbravo.dal.service.OBDal - Flush of 15 entities and 367 collections took: 2 java.lang.Throwable at org.openbravo.dal.service.OBDal.flush(OBDal.java:293) at org.openbravo.service.json.DefaultJsonDataService.doPostAction(DefaultJsonDataService.java:1137) at org.openbravo.service.json.DefaultJsonDataService.update(DefaultJsonDataService.java:1003) at org.openbravo.service.json.DefaultJsonDataService.add(DefaultJsonDataService.java:868) at org.openbravo.service.datasource.DefaultDataSourceService.add(DefaultDataSourceService.java:219) at org.openbravo.service.datasource.DefaultDataSourceService.add(DefaultDataSourceService.java:210) at org.openbravo.service.datasource.DataSourceServlet.doPost(DataSourceServlet.java:853) 593657 [http-bio-8080-exec-1] INFO org.openbravo.dal.core.DalRequestFilter - request= /openbravo/org.openbravo.service.datasource/MaterialMgmtShipmentInOut?windowId=169&tabId=257&moduleId=0&_operationType=update&_noActiveFilter=true&sendOriginalIDBack=true&_extraProperties=&Constants_FIELDSEPARATOR=%24&_className=OBViewDataSource&Constants_IDENTIFIER=_identifier&isc_dataFormat=json flushCount: 3 requestTime: 62 | |||||||||||
Steps To Reproduce | Use new in Goods Shipment window fill out mandatory fields Press 'Save' and trace flushes | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | Performance | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2017-08-04 13:42 | shuehner | New Issue | ||||||||||
2017-08-04 13:42 | shuehner | Assigned To | => platform | |||||||||
2017-08-04 13:42 | shuehner | Modules | => Core | |||||||||
2017-08-04 13:42 | shuehner | Triggers an Emergency Pack | => No | |||||||||
2017-08-04 13:42 | shuehner | Relationship added | blocks 0036606 | |||||||||
2017-08-10 12:08 | alostale | Note Added: 0098474 | ||||||||||
2017-08-10 12:09 | alostale | Status | new => acknowledged | |||||||||
2017-08-10 12:09 | alostale | Priority | normal => high | |||||||||
2017-08-10 12:09 | alostale | Tag Attached: Performance | ||||||||||
2017-09-28 17:59 | inigosanchez | Status | acknowledged => scheduled | |||||||||
2017-09-28 17:59 | inigosanchez | Assigned To | platform => inigosanchez | |||||||||
2017-10-06 10:12 | hgbot | Checkin | ||||||||||
2017-10-06 10:12 | hgbot | Note Added: 0099785 | ||||||||||
2017-10-06 10:13 | hgbot | Checkin | ||||||||||
2017-10-06 10:13 | hgbot | Note Added: 0099786 | ||||||||||
2017-10-06 10:13 | hgbot | Status | scheduled => resolved | |||||||||
2017-10-06 10:13 | hgbot | Resolution | open => fixed | |||||||||
2017-10-06 10:13 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/34c067c8eef2b09687cb72e5aad89225502726eb [^] | |||||||||
2017-10-06 10:15 | inigosanchez | Review Assigned To | => alostale | |||||||||
2017-10-06 14:39 | alostale | Note Added: 0099805 | ||||||||||
2017-10-06 14:39 | alostale | Status | resolved => closed | |||||||||
2017-10-06 14:39 | alostale | Fixed in Version | => 3.0PR18Q1 | |||||||||
2018-01-03 12:38 | hudsonbot | Checkin | ||||||||||
2018-01-03 12:38 | hudsonbot | Note Added: 0101320 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|