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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0037747
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Web POS Hardware Managermajoralways2018-01-26 11:542018-01-30 11:53
ReporteradrianromeroView Statuspublic 
Assigned ToRetail 
PrioritynormalResolutionfixedFixed in VersionRR17Q3.3
StatusclosedFix in branchFixed in SCM revisione40a8a21ce46
ProjectionnoneETAnoneTarget VersionRR17Q3.3
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression levelProduction - Confirmed Stable
Regression date2017-09-21
Regression introduced in releaseRR17Q3
Regression introduced by commithttps://code.openbravo.com/erp/pmods/org.openbravo.retail.poshwmanager.sources/rev/d4f8ae4bb164 [^]
Triggers an Emergency PackNo
Summary

0037747: Special characters like ' in product names is printed in the receipt as &

DescriptionIf a product name contains an special character like ' and included in an order from Web POS, when closing the receipt and printed. The receipt prints & instead of '
Steps To ReproduceIn description
Proposed Solution1.- Revert the commit in *Regression introduced by commit*.

2.-To fix properly the issue of the commit it has to be modified the template and print promotion names using function OB.UTIL.encodeXMLComponent() . This way:

          <line>
            <text align="left" length="2">--</text>
            <text align="left" length="32"><%=OB.UTIL.encodeXMLComponent(p.name)%></text>
            <text align="right" length="8"><%= OB.I18N.formatCurrency(-p.amt) %></text>
          </line>
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0037737 closedjorge-garcia Special characters like ' in product names is printed in the receipt as & 

-  Notes
(0102025)
hgbot (developer)
2018-01-29 16:20

Repository: retail/backports/3.0RR17Q3.3/org.openbravo.retail.posterminal
Changeset: e40a8a21ce46b5c26f8033c7624a385134482cc5
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Mon Jan 29 15:52:39 2018 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR17Q3.3/org.openbravo.retail.posterminal/rev/e40a8a21ce46b5c26f8033c7624a385134482cc5 [^]

Fixed issue 37747: Special characters like ' in product names is printed
in the receipt as &

Implemented xml encode in all references of promotions name in templates.

---
M web/org.openbravo.retail.posterminal/res/printcanceledreceipt.xml
M web/org.openbravo.retail.posterminal/res/printclosedinvoice.xml
M web/org.openbravo.retail.posterminal/res/printclosedreceipt.xml
M web/org.openbravo.retail.posterminal/res/printinvoice.xml
M web/org.openbravo.retail.posterminal/res/printlayaway.xml
M web/org.openbravo.retail.posterminal/res/printquotation.xml
M web/org.openbravo.retail.posterminal/res/printreceipt.xml
M web/org.openbravo.retail.posterminal/res/printreturn.xml
M web/org.openbravo.retail.posterminal/res/printreturninvoice.xml
---
(0102026)
hgbot (developer)
2018-01-29 16:20

Repository: retail/backports/3.0RR17Q3.3/org.openbravo.retail.poshwmanager.sources
Changeset: b64ef242281c9045f51f342f1884e727bc74bb9d
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Mon Jan 29 15:47:49 2018 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR17Q3.3/org.openbravo.retail.poshwmanager.sources/rev/b64ef242281c9045f51f342f1884e727bc74bb9d [^]

Related to issue 37747: Special characters like ' in product names is printed
in the receipt as &

Reverted code introduced by regression.

---
M project/src/com/openbravo/pos/printer/TicketParser.java
---
(0102027)
hgbot (developer)
2018-01-29 16:20

Repository: retail/backports/3.0RR17Q3.3/org.openbravo.retail.poshwmanager
Changeset: 1ca5c32c1ec3c97b7d0c0788b28ec0881b2145a0
Author: Jorge Garcia <jorge.garcia <at> openbravo.com>
Date: Mon Jan 29 15:51:28 2018 +0100
URL: http://code.openbravo.com/retail/backports/3.0RR17Q3.3/org.openbravo.retail.poshwmanager/rev/1ca5c32c1ec3c97b7d0c0788b28ec0881b2145a0 [^]

Related to issue 37747: Special characters like ' in product names is printed
in the receipt as &

Compiled new version of hardware manager.

---
M bin/poshw.jar
M bin/rev.id
---

- Issue History
Date Modified Username Field Change
2018-01-29 10:09 marvintm Type defect => backport
2018-01-29 10:09 marvintm Target Version => RR17Q3.3
2018-01-29 16:20 hgbot Checkin
2018-01-29 16:20 hgbot Note Added: 0102025
2018-01-29 16:20 hgbot Status scheduled => resolved
2018-01-29 16:20 hgbot Resolution open => fixed
2018-01-29 16:20 hgbot Fixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR17Q3.3/org.openbravo.retail.posterminal/rev/e40a8a21ce46b5c26f8033c7624a385134482cc5 [^]
2018-01-29 16:20 hgbot Checkin
2018-01-29 16:20 hgbot Note Added: 0102026
2018-01-29 16:20 hgbot Checkin
2018-01-29 16:20 hgbot Note Added: 0102027
2018-01-30 11:53 marvintm Review Assigned To adrianromero => marvintm
2018-01-30 11:53 marvintm Status resolved => closed
2018-01-30 11:53 marvintm Fixed in Version => RR17Q3.3


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker