Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0033789 | Openbravo ERP | A. Platform | public | 2016-08-24 11:04 | 2016-08-26 13:21 | |||||||
Reporter | shuehner | |||||||||||
Assigned To | shuehner | |||||||||||
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.0PR16Q4 | ||||||||||
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 | 0033789: Accidental double queries in org.openbravo.services.db.CallProcess | |||||||||||
Description | One of the call method in this class: public ProcessInstance call(String processName, String recordID, Map<String, String> parameters, Boolean doCommit) { calls .list() twice on same OBCriteria running sql query twice also. | |||||||||||
Steps To Reproduce | with debugging code from https://issues.openbravo.com/view.php?id=33767 [^] run try-retail Then the try-ret-modules job will trigger that flow 2016-08-24 05:09:51,572 [ajp-bio-127.0.0.1-8009-exec-3] WARN org.openbravo.dal.service.OBCriteria - Extra search done on OBQuery instance: java.lang.Throwable at org.openbravo.dal.service.OBCriteria.checkDoubleSearch(OBCriteria.java:92) at org.openbravo.dal.service.OBCriteria.list(OBCriteria.java:115) at org.openbravo.service.db.CallProcess.call(CallProcess.java:93) at org.openbravo.service.db.CallProcess.call(CallProcess.java:247) at org.openbravo.mobile.warehouse.goodmovement.ProcessDocument.saveRecord(ProcessDocument.java:93) at org.openbravo.mobile.core.process.DataSynchronizationProcess.saveRecord(DataSynchronizationProcess.java:198) at org.openbravo.mobile.core.process.DataSynchronizationProcess.exec(DataSynchronizationProcess.java:155) at org.openbravo.mobile.core.process.DataSynchronizationProcess.exec(DataSynchronizationProcess.java:87) at org.openbravo.mobile.core.process.JSONProcessSimple.exec(JSONProcessSimple.java:59) | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | Performance | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2016-08-24 11:04 | shuehner | New Issue | ||||||||||
2016-08-24 11:04 | shuehner | Assigned To | => platform | |||||||||
2016-08-24 11:04 | shuehner | Modules | => Core | |||||||||
2016-08-24 11:04 | shuehner | Triggers an Emergency Pack | => No | |||||||||
2016-08-24 11:04 | shuehner | Relationship added | related to 0033767 | |||||||||
2016-08-24 11:05 | shuehner | Tag Attached: Performance | ||||||||||
2016-08-24 11:07 | shuehner | Note Added: 0089336 | ||||||||||
2016-08-24 11:10 | hgbot | Checkin | ||||||||||
2016-08-24 11:10 | hgbot | Note Added: 0089337 | ||||||||||
2016-08-24 11:10 | hgbot | Status | new => resolved | |||||||||
2016-08-24 11:10 | hgbot | Resolution | open => fixed | |||||||||
2016-08-24 11:10 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/3d8d5b58f0ec6170acc87c08280947c2ef5f3c25 [^] | |||||||||
2016-08-24 11:10 | shuehner | Review Assigned To | => caristu | |||||||||
2016-08-24 15:00 | shuehner | Assigned To | platform => shuehner | |||||||||
2016-08-25 10:45 | caristu | Note Added: 0089383 | ||||||||||
2016-08-25 10:45 | caristu | Status | resolved => closed | |||||||||
2016-08-25 10:45 | caristu | Fixed in Version | => 3.0PR16Q4 | |||||||||
2016-08-26 08:27 | hgbot | Checkin | ||||||||||
2016-08-26 08:27 | hgbot | Note Added: 0089426 | ||||||||||
2016-08-26 13:21 | hudsonbot | Checkin | ||||||||||
2016-08-26 13:21 | hudsonbot | Note Added: 0089457 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|