Openbravo Issue Tracking System - Retail Modules
View Issue Details
0050123Retail ModulesWeb POSpublic2022-08-31 13:082022-09-12 07:31
joniturralde93 
ranjith_qualiantech_com 
urgentmajoralways
closedfixed 
5
 
RR22Q4 
No
0050123: We should get a more detailed error trace when there is an error in print template computing
When there is some syntax error in a receipt template printing, or some property does not exist, thus throwing an error, we only get:
Error computing the template {}

This way, we don't know what was the problem, and there are scenarios where we cannot reproduce the issue, so debugging the template is not an option
- Enter some syntax error in a XML receipt print template (easiest way)
- Try to print
- Show an error popup and the error in the console: Error computing the template {}
- We need to have a specific error description. Example: "Cannot read 'price' of undefined"
No tags attached.
Issue History
2022-08-31 13:08joniturralde93New Issue
2022-08-31 13:08joniturralde93Assigned To => Retail
2022-08-31 13:08joniturralde93Triggers an Emergency Pack => No
2022-09-01 07:00ranjith_qualiantech_comAssigned ToRetail => ranjith_qualiantech_com
2022-09-01 07:15ranjith_qualiantech_comStatusnew => scheduled
2022-09-05 12:34hgbotNote Added: 0140710
2022-09-12 07:31hgbotResolutionopen => fixed
2022-09-12 07:31hgbotStatusscheduled => closed
2022-09-12 07:31hgbotNote Added: 0140995
2022-09-12 07:31hgbotFixed in Version => RR22Q4
2022-09-12 07:31hgbotNote Added: 0140996

Notes
(0140710)
hgbot   
2022-09-05 12:34   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/912 [^]
(0140995)
hgbot   
2022-09-12 07:31   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/912 [^]
(0140996)
hgbot   
2022-09-12 07:31   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 35fc758de193906cafe9b8332f826e76dd15fa98
Author: Ranjith S R <ranjith@qualiantech.com>
Date: 12-09-2022 05:30:49
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/35fc758de193906cafe9b8332f826e76dd15fa98 [^]

Fixed ISSUE-50123: Updated log when error occurs in printing the template

---
M web/org.openbravo.retail.posterminal/js/datasource.js
---