Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0050123
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2022-08-31 13:082022-09-12 07:31
Reporterjoniturralde93View Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityurgentResolutionfixedFixed in VersionRR22Q4
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0050123: We should get a more detailed error trace when there is an error in print template computing

DescriptionWhen 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
Steps To Reproduce- 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"
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0140710)
hgbot (developer)
2022-09-05 12:34

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/912 [^]
(0140995)
hgbot (developer)
2022-09-12 07:31

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/912 [^]
(0140996)
hgbot (developer)
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
---

- Issue History
Date Modified Username Field Change
2022-08-31 13:08 joniturralde93 New Issue
2022-08-31 13:08 joniturralde93 Assigned To => Retail
2022-08-31 13:08 joniturralde93 Triggers an Emergency Pack => No
2022-09-01 07:00 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2022-09-01 07:15 ranjith_qualiantech_com Status new => scheduled
2022-09-05 12:34 hgbot Note Added: 0140710
2022-09-12 07:31 hgbot Resolution open => fixed
2022-09-12 07:31 hgbot Status scheduled => closed
2022-09-12 07:31 hgbot Note Added: 0140995
2022-09-12 07:31 hgbot Fixed in Version => RR22Q4
2022-09-12 07:31 hgbot Note Added: 0140996


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker