Openbravo Issue Tracking System - Openbravo ERP | |||||||||||||||||||
| View Issue Details | |||||||||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||
| 0036601 | Openbravo ERP | A. Platform | public | 2017-08-04 10:04 | 2017-08-04 12:46 | ||||||||||||||
| Reporter | alostale | ||||||||||||||||||
| Assigned To | alostale | ||||||||||||||||||
| Priority | normal | Severity | minor | Reproducibility | have not tried | ||||||||||||||
| Status | closed | Resolution | fixed | ||||||||||||||||
| Platform | OS | 5 | OS Version | ||||||||||||||||
| Product Version | |||||||||||||||||||
| Target Version | Fixed in Version | 3.0PR17Q4 | |||||||||||||||||
| Merge Request Status | |||||||||||||||||||
| Review Assigned To | caristu | ||||||||||||||||||
| OBNetwork customer | No | ||||||||||||||||||
| Web browser | |||||||||||||||||||
| Modules | Core | ||||||||||||||||||
| Support ticket | |||||||||||||||||||
| Regression level | |||||||||||||||||||
| Regression date | |||||||||||||||||||
| Regression introduced in release | |||||||||||||||||||
| Regression introduced by commit | |||||||||||||||||||
| Triggers an Emergency Pack | No | ||||||||||||||||||
| Summary | 0036601: unneeded flush with no entities on every fetch | ||||||||||||||||||
| Description | Whenever datasoruce data is fetched, a flush is performed just after clearing the session. This actually has no effect as it's guaranteed session to be empty, so there's nothing to flush. | ||||||||||||||||||
| Steps To Reproduce | 1. Open Product window 2. Set OBDal class debug level to DEBUG 3. Click on Product's Refresh grid toolbar button -> check openbravo.log: 1f923ef8 690457 [http-bio-8080-exec-1] DEBUG org.openbravo.dal.service.OBDal - Dumping all entities in session 1f923ef8 690458 [http-bio-8080-exec-1] DEBUG org.openbravo.dal.service.OBDal - Flush of 0 entities and 0 collections took: 0 java.lang.Throwable at org.openbravo.dal.service.OBDal.flush(OBDal.java:268) at org.openbravo.service.json.DefaultJsonDataService.doPostAction(DefaultJsonDataService.java:1138) at org.openbravo.service.json.DefaultJsonDataService.fetch(DefaultJsonDataService.java:311) | ||||||||||||||||||
| Proposed Solution | Despite the performance impact is small, being unneeded it should be prevented. | ||||||||||||||||||
| Additional Information | |||||||||||||||||||
| Tags | Performance | ||||||||||||||||||
| Relationships |
| ||||||||||||||||||
| Attached Files | |||||||||||||||||||
| Issue History | |||||||||||||||||||
| Date Modified | Username | Field | Change | ||||||||||||||||
| 2017-08-04 10:04 | alostale | New Issue | |||||||||||||||||
| 2017-08-04 10:04 | alostale | Assigned To | => platform | ||||||||||||||||
| 2017-08-04 10:04 | alostale | OBNetwork customer | => No | ||||||||||||||||
| 2017-08-04 10:04 | alostale | Modules | => Core | ||||||||||||||||
| 2017-08-04 10:04 | alostale | Triggers an Emergency Pack | => No | ||||||||||||||||
| 2017-08-04 10:04 | alostale | Review Assigned To | => caristu | ||||||||||||||||
| 2017-08-04 10:04 | alostale | Tag Attached: Performance | |||||||||||||||||
| 2017-08-04 10:05 | alostale | Relationship added | related to 0026548 | ||||||||||||||||
| 2017-08-04 10:08 | alostale | Assigned To | platform => alostale | ||||||||||||||||
| 2017-08-04 10:30 | alostale | Status | new => scheduled | ||||||||||||||||
| 2017-08-04 10:34 | alostale | Note Added: 0098388 | |||||||||||||||||
| 2017-08-04 10:34 | alostale | Status | scheduled => resolved | ||||||||||||||||
| 2017-08-04 10:34 | alostale | Fixed in SCM revision | => https://code.openbravo.com/erp/devel/pi/rev/b74ed74f842a [^] | ||||||||||||||||
| 2017-08-04 10:34 | alostale | Resolution | open => fixed | ||||||||||||||||
| 2017-08-04 12:46 | caristu | Note Added: 0098392 | |||||||||||||||||
| 2017-08-04 12:46 | caristu | Status | resolved => closed | ||||||||||||||||
| 2017-08-04 12:46 | caristu | Fixed in Version | => 3.0PR17Q4 | ||||||||||||||||
| 2017-08-04 13:16 | shuehner | Relationship added | blocks 0036606 | ||||||||||||||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||