Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0039887 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | always | 2019-01-09 10:32 | 2019-01-10 09:41 | |||
Reporter | gorkaion | View Status | public | |||||
Assigned To | ranjith_qualiantech_com | |||||||
Priority | urgent | Resolution | invalid | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Review Assigned To | gorkaion | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0039887: relatedLines json array expect different types for product key in ExternalOrderLoader and OrderLoader | |||||||
Description | When the relatedLines is sent to the ExternalOrderLoeader it is expected to have a JSONArray of JSONObjects with 2 keys: - orderlineId with the id of the related order line - product with a String that could be the "id", "searchKey", "name", "uPCEAN". https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/file/tip/src/org/openbravo/retail/posterminal/ExternalOrderLoader.java#l653 [^] Later when the OrderLoader is executed this changes as it expects the JSONObjects to have also 2 keys but in this case the product key is expecting a JSONObject with extended product information. https://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/file/tip/src/org/openbravo/retail/posterminal/OrderLoader.java#l777 [^] | |||||||
Steps To Reproduce | Try to load an order using ExternalOrderLoeader with related service lines. | |||||||
Proposed Solution | Fix the ExternalOrderLoader to build the expected JSONObject for the product key when the relatedLines array is handled. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0108880) gorkaion (developer) 2019-01-10 09:41 |
the product json object used in OrderLoader is in OrderLine JSONObject instead of the relatedLine array. So there is no issue. |
Issue History | |||
Date Modified | Username | Field | Change |
2019-01-09 10:32 | gorkaion | New Issue | |
2019-01-09 10:32 | gorkaion | Assigned To | => Retail |
2019-01-09 10:32 | gorkaion | Resolution time | => 1548802800 |
2019-01-09 10:32 | gorkaion | Triggers an Emergency Pack | => No |
2019-01-09 10:32 | gorkaion | Issue generated from | 0033614 |
2019-01-09 10:32 | gorkaion | Relationship added | related to 0033614 |
2019-01-09 10:38 | gorkaion | Summary | OrderLoader: Extra m_product read for every orderline related to services => relatedLines json array expect different types for product key in ExternalOrderLoader and OrderLoader |
2019-01-09 10:38 | gorkaion | Description Updated | View Revisions |
2019-01-09 10:38 | gorkaion | Steps to Reproduce Updated | View Revisions |
2019-01-09 10:38 | gorkaion | Proposed Solution updated | |
2019-01-09 11:21 | rafaroda | Issue Monitored: rafaroda | |
2019-01-09 14:14 | ranjith_qualiantech_com | Assigned To | Retail => ranjith_qualiantech_com |
2019-01-09 14:14 | ranjith_qualiantech_com | Status | new => scheduled |
2019-01-10 09:41 | gorkaion | Review Assigned To | => gorkaion |
2019-01-10 09:41 | gorkaion | Note Added: 0108880 | |
2019-01-10 09:41 | gorkaion | Status | scheduled => closed |
2019-01-10 09:41 | gorkaion | Resolution | open => invalid |
Copyright © 2000 - 2009 MantisBT Group |