Openbravo Issue Tracking System - Retail Modules | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0033136 | Retail Modules | Web POS | public | 2016-06-05 13:51 | 2017-11-30 10:15 | |||||||
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 | RR16Q3 | ||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | marvintm | |||||||||||
OBNetwork customer | No | |||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0033136: Useless read from c_bpartner_location in Orderloader -> should use Proxy instead | |||||||||||
Description | OrderLoader.java in its createOrder method uses following code: order.setPartnerAddress(OBDal.getInstance().get(Location.class, jsonorder.getJSONObject("bp").getString("locId"))); Reading from c_bp_location here is not required a Proxy should be used instead to pass on the id. 2nd case of same bug later in createShipment function: shipment.setPartnerAddress(OBDal.getInstance().get(Location.class, jsonorder.getJSONObject("bp").getString("locId"))); | |||||||||||
Steps To Reproduce | Trace sql's done during OrderLoader. | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | Performance | |||||||||||
Relationships |
| |||||||||||
Attached Files | ![]() https://issues.openbravo.com/file_download.php?file_id=9483&type=bug ![]() https://issues.openbravo.com/file_download.php?file_id=9486&type=bug ![]() https://issues.openbravo.com/file_download.php?file_id=9488&type=bug | |||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2016-06-05 13:51 | shuehner | New Issue | ||||||||||
2016-06-05 13:51 | shuehner | Assigned To | => Retail | |||||||||
2016-06-05 13:51 | shuehner | OBNetwork customer | => No | |||||||||
2016-06-05 13:51 | shuehner | Triggers an Emergency Pack | => No | |||||||||
2016-06-05 13:51 | shuehner | Relationship added | related to 0033135 | |||||||||
2016-06-05 13:52 | shuehner | Tag Attached: Performance | ||||||||||
2016-06-05 13:53 | shuehner | File Added: 33136.diff | ||||||||||
2016-06-05 14:34 | shuehner | Description Updated | bug_revision_view_page.php?rev_id=12314#r12314 | |||||||||
2016-06-05 14:34 | shuehner | File Added: 33136_part2.diff | ||||||||||
2016-06-05 15:39 | shuehner | File Added: 33136_part3.diff | ||||||||||
2016-06-09 15:47 | hgbot | Checkin | ||||||||||
2016-06-09 15:47 | hgbot | Note Added: 0087125 | ||||||||||
2016-06-09 15:47 | hgbot | Status | new => resolved | |||||||||
2016-06-09 15:47 | hgbot | Resolution | open => fixed | |||||||||
2016-06-09 15:47 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/e19a0fea772752d11f0921ef5db809f142b314ff [^] | |||||||||
2016-06-09 15:51 | shuehner | Assigned To | Retail => shuehner | |||||||||
2016-06-09 15:51 | shuehner | Review Assigned To | => marvintm | |||||||||
2016-06-10 09:07 | marvintm | Status | resolved => closed | |||||||||
2017-11-30 10:15 | shuehner | Fixed in Version | => RR16Q3 |
Notes | |||||
|
|||||
|
|