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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0035907
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POS Hardware Managerminoralways2017-05-03 12:252022-01-11 12:43
ReportermigueldejuanaView Statuspublic 
Assigned ToTriage Platform Conn 
PrioritynormalResolutioninvalidFixed in Version
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

0035907: error printing when special chars (for example, '<') are used in the discount name

Descriptionif there is one discount name with the char "<", and receipt is created in POS, with a product using this discount, error is returned when the receipt is printed
Steps To Reproduce    in backoffice:
. in discount and promotions window:
  update the discount "3 x 2 Bottles"
    name= "3 x 2 < Bottles"

open hw manager

in POS:
. new receipt:
 add new line: Bottle 1 L -> qty= 3
pay it

Error: Printer and display are not available.
in hw manager, error is returned:
SEVERE: null
com.openbravo.pos.printer.TicketPrinterException: The content of elements must consist of well-formed character data or markup.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0035801 closedjorge-garcia error printing when special chars (for example, '&') are used in the discount name 

-  Notes
(0134210)
adrianromero (manager)
2022-01-11 12:43

Use OB.UTIL.encodeXMLComponent(..) to print the discount name in the template.

Related issue 0035801 was wrongly fixed

- Issue History
Date Modified Username Field Change
2017-05-03 12:25 migueldejuana New Issue
2017-05-03 12:25 migueldejuana Assigned To => Retail
2017-05-03 12:25 migueldejuana Triggers an Emergency Pack => No
2017-05-03 12:25 migueldejuana Relationship added related to 0035801
2022-01-11 12:31 alostale Assigned To Retail => Triage Platform Conn
2022-01-11 12:43 adrianromero Note Added: 0134210
2022-01-11 12:43 adrianromero Status new => closed
2022-01-11 12:43 adrianromero Resolution open => invalid


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker