Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0037745 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Retail Modules] Web POS Hardware Manager | major | always | 2018-01-26 11:54 | 2018-01-30 11:53 | |||
Reporter | adrianromero | View Status | public | |||||
Assigned To | Retail | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | RR18Q1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 12421cdd7474 | ||||
Projection | none | ETA | none | Target Version | RR18Q1 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | marvintm | |||||||
OBNetwork customer | OBPS | |||||||
Support ticket | ||||||||
Regression level | Production - Confirmed Stable | |||||||
Regression date | 2017-09-21 | |||||||
Regression introduced in release | RR17Q3 | |||||||
Regression introduced by commit | https://code.openbravo.com/erp/pmods/org.openbravo.retail.poshwmanager.sources/rev/d4f8ae4bb164 [^] | |||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0037745: Special characters like ' in product names is printed in the receipt as & | |||||||
Description | If 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 Reproduce | In description | |||||||
Proposed Solution | 1.- 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> | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0102032) hgbot (developer) 2018-01-29 16:34 |
Repository: retail/backports/3.0RR18Q1/org.openbravo.retail.posterminal Changeset: 12421cdd74747bbdf5a5529ffd88054049ed79a1 Author: Jorge Garcia <jorge.garcia <at> openbravo.com> Date: Mon Jan 29 15:57:36 2018 +0100 URL: http://code.openbravo.com/retail/backports/3.0RR18Q1/org.openbravo.retail.posterminal/rev/12421cdd74747bbdf5a5529ffd88054049ed79a1 [^] Fixed issue 37745: 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 --- |
(0102033) hgbot (developer) 2018-01-29 16:35 |
Repository: retail/backports/3.0RR18Q1/org.openbravo.retail.poshwmanager.sources Changeset: 4410e217950fc01f063041aab6e37e49c76c4550 Author: Jorge Garcia <jorge.garcia <at> openbravo.com> Date: Mon Jan 29 15:58:12 2018 +0100 URL: http://code.openbravo.com/retail/backports/3.0RR18Q1/org.openbravo.retail.poshwmanager.sources/rev/4410e217950fc01f063041aab6e37e49c76c4550 [^] Related to issue 37745: 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 --- |
(0102034) hgbot (developer) 2018-01-29 16:35 |
Repository: retail/backports/3.0RR18Q1/org.openbravo.retail.poshwmanager Changeset: 60b9bce77d6cbef2c1ccce689b9e9e2dbd24757e Author: Jorge Garcia <jorge.garcia <at> openbravo.com> Date: Mon Jan 29 15:59:03 2018 +0100 URL: http://code.openbravo.com/retail/backports/3.0RR18Q1/org.openbravo.retail.poshwmanager/rev/60b9bce77d6cbef2c1ccce689b9e9e2dbd24757e [^] Related to issue 37745: 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 --- |
![]() |
|||
Date Modified | Username | Field | Change |
2018-01-29 10:09 | marvintm | Type | defect => backport |
2018-01-29 10:09 | marvintm | Target Version | => RR18Q1 |
2018-01-29 16:34 | hgbot | Checkin | |
2018-01-29 16:34 | hgbot | Note Added: 0102032 | |
2018-01-29 16:34 | hgbot | Status | scheduled => resolved |
2018-01-29 16:34 | hgbot | Resolution | open => fixed |
2018-01-29 16:34 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/retail/backports/3.0RR18Q1/org.openbravo.retail.posterminal/rev/12421cdd74747bbdf5a5529ffd88054049ed79a1 [^] |
2018-01-29 16:35 | hgbot | Checkin | |
2018-01-29 16:35 | hgbot | Note Added: 0102033 | |
2018-01-29 16:35 | hgbot | Checkin | |
2018-01-29 16:35 | hgbot | Note Added: 0102034 | |
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 | => RR18Q1 |
Copyright © 2000 - 2009 MantisBT Group |