Openbravo Issue Tracking System - Retail Modules
View Issue Details
0048535Retail ModulesWeb POSpublic2022-02-04 14:342022-03-01 09:08
adrianromero 
adrianromero 
normalmajorsometimes
closedfixed 
5
 
RR22Q2 
caristu
No
0048535: Payment log messages throws an exception if the parameter cannot be stringified
Logging expressions used by the payment flow might raise an exception if objects cannot be stringified for example if there are circular references.

        OB.info(
          `ModalProviderGroup: processPayment response: ${JSON.stringify(
            response
          )}`
N/A
Replace logging instructions by


        OB.info(
          `ModalProviderGroup: processPayment response: ${response}`);
No tags attached.
caused by defect 0048413 closed adrianromero Improves client log in payments, refunds and void operations 
Issue History
2022-02-04 14:34adrianromeroNew Issue
2022-02-04 14:34adrianromeroAssigned To => adrianromero
2022-02-04 14:34adrianromeroTriggers an Emergency Pack => No
2022-02-04 14:35adrianromeroRelationship addedcaused by 0048413
2022-02-04 14:42adrianromeroProposed Solution updated
2022-02-04 14:52hgbotNote Added: 0134791
2022-02-04 14:54adrianromeroStatusnew => acknowledged
2022-02-04 14:54adrianromeroStatusacknowledged => scheduled
2022-02-25 09:16adrianromeroSummaryPayment log messages throws an exception if the paramenter cannot be transformed to stringified => Payment log messages throws an exception if the parameter cannot be stringified
2022-02-25 10:00hgbotNote Added: 0135306
2022-02-25 10:00hgbotResolutionopen => fixed
2022-02-25 10:00hgbotStatusscheduled => resolved
2022-02-25 10:00hgbotFixed in Version => RR22Q2
2022-02-25 10:00hgbotNote Added: 0135307
2022-02-25 10:00hgbotNote Added: 0135308
2022-03-01 09:08caristuReview Assigned To => caristu
2022-03-01 09:08caristuStatusresolved => closed

Notes
(0134791)
hgbot   
2022-02-04 14:52   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/708 [^]
(0135306)
hgbot   
2022-02-25 10:00   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/708 [^]
(0135307)
hgbot   
2022-02-25 10:00   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 82f98c7b873d8f90868d7969b95154b365d6b69f
Author: Adrián Romero <adrian.romero@openbravo.com>
Date: 25-02-2022 08:14:14
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/82f98c7b873d8f90868d7969b95154b365d6b69f [^]

Fixes ISSUE-48535: Payment log messages throws an exception if the paramenter cannot be transformed to stringified

---
M web/org.openbravo.retail.posterminal/js/components/modalprovidergroup.js
M web/org.openbravo.retail.posterminal/js/components/modalprovidergroupvoid.js
---
(0135308)
hgbot   
2022-02-25 10:00   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 53319ea85a4c9b8d02e95aa2882a41ece19d3029
Author: Adrián Romero <adrian.romero@openbravo.com>
Date: 25-02-2022 08:14:14
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/53319ea85a4c9b8d02e95aa2882a41ece19d3029 [^]

Fixes ISSUE-48535: Payment log messages throws an exception if the paramenter cannot be transformed to stringified

---
M web/org.openbravo.retail.posterminal/js/components/modalprovidergroup.js
M web/org.openbravo.retail.posterminal/js/components/modalprovidergroupvoid.js
M web/org.openbravo.retail.posterminal/js/utils/ob-utilitiesuipos.js
---