Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0035801 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | always | 2017-04-19 18:07 | 2017-05-03 12:21 | |||
Reporter | malsasua | View Status | public | |||||
Assigned To | jorge-garcia | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | d4f8ae4bb164 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | migueldejuana | |||||||
OBNetwork customer | OBPS | |||||||
Support ticket | 46330 | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0035801: error printing when special chars (for example, '&') are used in the discount name | |||||||
Description | if 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: om.openbravo.pos.printer.TicketPrinterException: The entity name must immediately follow the '&' in the entity reference. at com.openbravo.pos.printer.TicketParser.printTicket(TicketParser.java:97) at com.openbravo.poshw.TicketServlet.doProcess(TicketServlet.java:53) ... | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|||||||||||||||
|
![]() |
|
(0096185) hgbot (developer) 2017-04-26 09:29 |
Repository: erp/pmods/org.openbravo.retail.poshwmanager Changeset: d0a053a86a9904c0002c86c787316717765f7924 Author: Jorge Garcia <jorge.garcia <at> openbravo.com> Date: Wed Apr 26 09:28:27 2017 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.poshwmanager/rev/d0a053a86a9904c0002c86c787316717765f7924 [^] Related to issue 35801: error printing when special chars (for example, '&') are used in the discount name Compile hardware manager with the new changes. --- M bin/poshw.jar M bin/rev.id --- |
(0096186) hgbot (developer) 2017-04-26 09:29 |
Repository: erp/pmods/org.openbravo.retail.poshwmanager.sources Changeset: d4f8ae4bb164cc750ecfe2a6bcceaab321e1ee14 Author: Jorge Garcia <jorge.garcia <at> openbravo.com> Date: Tue Apr 25 13:55:16 2017 +0200 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.poshwmanager.sources/rev/d4f8ae4bb164cc750ecfe2a6bcceaab321e1ee14 [^] Fixed issue 35801: error printing when special chars (for example, '&') are used in the discount name The solution is to replace all characaters & for & string in POSHWManager. For that, it is necessary to create a regular expresion to match those cases. --- M project/src/com/openbravo/pos/printer/TicketParser.java --- |
(0096342) migueldejuana (viewer) 2017-05-03 12:21 |
Tested and reviewed |
![]() |
|||
Date Modified | Username | Field | Change |
2017-04-19 18:07 | malsasua | New Issue | |
2017-04-19 18:07 | malsasua | Assigned To | => Retail |
2017-04-19 18:07 | malsasua | OBNetwork customer | => Yes |
2017-04-19 18:07 | malsasua | Support ticket | => 46330 |
2017-04-19 18:07 | malsasua | Resolution time | => 1494367200 |
2017-04-19 18:07 | malsasua | Triggers an Emergency Pack | => No |
2017-04-24 17:22 | jorge-garcia | Status | new => scheduled |
2017-04-24 17:22 | jorge-garcia | Assigned To | Retail => jorge-garcia |
2017-04-26 09:29 | hgbot | Checkin | |
2017-04-26 09:29 | hgbot | Note Added: 0096185 | |
2017-04-26 09:29 | hgbot | Checkin | |
2017-04-26 09:29 | hgbot | Note Added: 0096186 | |
2017-04-26 09:29 | hgbot | Status | scheduled => resolved |
2017-04-26 09:29 | hgbot | Resolution | open => fixed |
2017-04-26 09:29 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.retail.poshwmanager.sources/rev/d4f8ae4bb164cc750ecfe2a6bcceaab321e1ee14 [^] |
2017-05-03 12:21 | migueldejuana | Review Assigned To | => migueldejuana |
2017-05-03 12:21 | migueldejuana | Note Added: 0096342 | |
2017-05-03 12:21 | migueldejuana | Status | resolved => closed |
2017-05-03 12:25 | migueldejuana | Relationship added | related to 0035907 |
2018-01-26 12:17 | adrianromero | Relationship added | causes 0037737 |
Copyright © 2000 - 2009 MantisBT Group |