Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0053401 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | always | 2023-09-06 13:57 | 2023-09-22 06:52 | |||
Reporter | sofidossant | View Status | public | |||||
Assigned To | sofidossant | |||||||
Priority | normal | Resolution | no change required | 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 | RR21Q4 | SCM revision | ||||||
Review Assigned To | guillermogil | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0053401: Error while importing org.openbravo.base.exception.OBException: paymentData attached to payment | |||||||
Description | When the json is very big we have the following error while importing org.openbravo.base.exception.OBException: paymentData attached to payment 04810000450 - 08-30-2023 - GT Final Consumer - 120.00 is not a valid JSON. at org.openbravo.retail.posterminal.OrderLoader.processPayments(OrderLoader.java:1826) at org.openbravo.retail.posterminal.OrderLoader.handlePayments(OrderLoader.java:1484) Explication: https://www.youtube.com/watch?v=vF9Bkk19wRY&ab_channel=CristianAdrian%7CPracticsBS [^] | |||||||
Steps To Reproduce | in the webpos Make a sale of many products, and many payments. Make a cancellation of a card payment in the sale. And make several payments In this part, the receipt is added, and it generates that the payment part is very large and generates the ewi providerinstance .processPayment({ receipt: receipt, currency: currency, amount: amount, refund: refund, providerGroup: providerGroup, attributes: attributes }) | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | |
Notes | |
(0154873) hgbot (developer) 2023-09-15 00:48 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.asyncpayprovider/-/merge_requests/24 [^] |
(0154874) hgbot (developer) 2023-09-15 00:49 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.ingenicotsiprovider/-/merge_requests/2 [^] |
(0154875) hgbot (developer) 2023-09-15 00:49 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.adyenprovider/-/merge_requests/30 [^] |
(0154876) hgbot (developer) 2023-09-15 00:49 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1341 [^] |
(0154915) guillermogil (manager) 2023-09-18 06:10 |
We have been trying to reproduce the behavior and we have not been able to. Can you provide the implementation that it is failing? Maybe we are checking the async provider and lagacy it being used. Also, why are we getting an Invalid JSON due to size? is it a valid JSON? Can you share it too? |
(0154916) hgbot (developer) 2023-09-18 06:12 |
Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1341 [^] |
(0154917) hgbot (developer) 2023-09-18 06:12 |
Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.adyenprovider/-/merge_requests/30 [^] |
(0154918) hgbot (developer) 2023-09-18 06:12 |
Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.ingenicotsiprovider/-/merge_requests/2 [^] |
(0154919) hgbot (developer) 2023-09-18 06:12 |
Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.asyncpayprovider/-/merge_requests/24 [^] |
(0154967) hgbot (developer) 2023-09-19 06:12 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1348 [^] |
(0155121) hgbot (developer) 2023-09-22 06:48 |
Merge request closed: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1348 [^] |
(0155122) guillermogil (manager) 2023-09-22 06:52 |
Finally the problem was on the implementation of the provider for the customer. It was receiving a list of properties (receipt among them) to use them for the processing of the payment and it was being returned on the resolve of the promise. On the resolve it should be sent the object desired to be used and saved not all the entry parameters plus the new payment information. |
Issue History | |||
Date Modified | Username | Field | Change |
2023-09-06 13:57 | sofidossant | New Issue | |
2023-09-06 13:57 | sofidossant | Assigned To | => Retail |
2023-09-06 13:57 | sofidossant | Triggers an Emergency Pack | => No |
2023-09-06 14:13 | Practics | Issue Monitored: Practics | |
2023-09-07 08:02 | guillermogil | Assigned To | Retail => gaboflash |
2023-09-15 00:48 | hgbot | Note Added: 0154873 | |
2023-09-15 00:49 | hgbot | Note Added: 0154874 | |
2023-09-15 00:49 | hgbot | Note Added: 0154875 | |
2023-09-15 00:49 | hgbot | Note Added: 0154876 | |
2023-09-18 06:10 | guillermogil | Note Added: 0154915 | |
2023-09-18 06:10 | guillermogil | Status | new => feedback |
2023-09-18 06:12 | hgbot | Note Added: 0154916 | |
2023-09-18 06:12 | hgbot | Note Added: 0154917 | |
2023-09-18 06:12 | hgbot | Note Added: 0154918 | |
2023-09-18 06:12 | hgbot | Note Added: 0154919 | |
2023-09-19 06:05 | guillermogil | Assigned To | gaboflash => sofidossant |
2023-09-19 06:12 | hgbot | Note Added: 0154967 | |
2023-09-22 06:48 | hgbot | Note Added: 0155121 | |
2023-09-22 06:52 | guillermogil | Review Assigned To | => guillermogil |
2023-09-22 06:52 | guillermogil | Note Added: 0155122 | |
2023-09-22 06:52 | guillermogil | Status | feedback => closed |
2023-09-22 06:52 | guillermogil | Resolution | open => no change required |
Copyright © 2000 - 2009 MantisBT Group |