Openbravo Issue Tracking System - Openbravo ERP | |||||||||||||||||||
View Issue Details | |||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||
0036609 | Openbravo ERP | A. Platform | public | 2017-08-04 13:37 | 2017-09-21 16:49 | ||||||||||||||
Reporter | shuehner | ||||||||||||||||||
Assigned To | alostale | ||||||||||||||||||
Priority | urgent | 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 | |||||||||||||||||||
Web browser | |||||||||||||||||||
Modules | Core | ||||||||||||||||||
Support ticket | |||||||||||||||||||
Regression level | |||||||||||||||||||
Regression date | |||||||||||||||||||
Regression introduced in release | |||||||||||||||||||
Regression introduced by commit | |||||||||||||||||||
Triggers an Emergency Pack | No | ||||||||||||||||||
Summary | 0036609: 2* flush in FIC when only 1 is required | ||||||||||||||||||
Description | FIC code does intentionally a flush+commit just before running callouts. However it manually calls flush first + then the OBDal.getInstance().getConnection() function (with boolean param) which does another commit inside. That should be cleaned up to not double flush either flush manually + getConnection(false) or getConnection(true) + comment OBDal.getInstance().flush(); at org.openbravo.client.application.window.FormInitializationComponent.runCallouts(FormInitializationComponent.java:1458) at org.openbravo.client.application.window.FormInitializationComponent.runCallouts(FormInitializationComponent.java:1461) OBDal.getInstance().getConnection().commit(); | ||||||||||||||||||
Steps To Reproduce | Trace flushes while: - Pressing new in any window having a callout - Example: "Goods shipment" | ||||||||||||||||||
Proposed Solution | At least: remove manual flush before commit To check: if both can be completely removed, is still valid the case it was introduced for? Are ie. possible locks in ad_sequence created in a different trx? See changeset introducing that part of code (not associated to any issue) [1] [1] https://code.openbravo.com/erp/devel/pi/rev/224a5ad97e53 [^] | ||||||||||||||||||
Additional Information | |||||||||||||||||||
Tags | Performance | ||||||||||||||||||
Relationships |
| ||||||||||||||||||
Attached Files | |||||||||||||||||||
Issue History | |||||||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||||||
2017-08-04 13:37 | shuehner | New Issue | |||||||||||||||||
2017-08-04 13:37 | shuehner | Assigned To | => platform | ||||||||||||||||
2017-08-04 13:37 | shuehner | Modules | => Core | ||||||||||||||||
2017-08-04 13:37 | shuehner | Triggers an Emergency Pack | => No | ||||||||||||||||
2017-08-04 13:37 | shuehner | Relationship added | depends on 0036606 | ||||||||||||||||
2017-08-04 13:38 | shuehner | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=15598#r15598 | ||||||||||||||||
2017-08-10 10:40 | alostale | Tag Attached: Performance | |||||||||||||||||
2017-08-10 10:44 | alostale | Priority | normal => urgent | ||||||||||||||||
2017-08-10 10:44 | alostale | Proposed Solution updated | |||||||||||||||||
2017-08-10 10:45 | alostale | Status | new => acknowledged | ||||||||||||||||
2017-08-10 10:48 | alostale | Relationship added | related to 0035855 | ||||||||||||||||
2017-08-11 12:11 | alostale | Proposed Solution updated | |||||||||||||||||
2017-08-11 12:12 | alostale | Assigned To | platform => alostale | ||||||||||||||||
2017-08-11 12:18 | hgbot | Checkin | |||||||||||||||||
2017-08-11 12:18 | hgbot | Note Added: 0098488 | |||||||||||||||||
2017-08-11 12:18 | hgbot | Status | acknowledged => resolved | ||||||||||||||||
2017-08-11 12:18 | hgbot | Resolution | open => fixed | ||||||||||||||||
2017-08-11 12:18 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/3815628bbb6f7fc363c9a7fd2d5897af10310b55 [^] | ||||||||||||||||
2017-08-11 12:19 | alostale | Review Assigned To | => caristu | ||||||||||||||||
2017-08-11 13:21 | caristu | Relationship deleted | depends on 0036606 | ||||||||||||||||
2017-08-11 13:21 | caristu | Relationship added | blocks 0036606 | ||||||||||||||||
2017-08-11 13:22 | caristu | Note Added: 0098492 | |||||||||||||||||
2017-08-11 13:22 | caristu | Status | resolved => closed | ||||||||||||||||
2017-08-11 13:22 | caristu | Fixed in Version | => 3.0PR17Q4 | ||||||||||||||||
2017-09-21 16:49 | hudsonbot | Checkin | |||||||||||||||||
2017-09-21 16:49 | hudsonbot | Note Added: 0099309 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|