Openbravo Issue Tracking System - Java Client POS |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0007926 | Java Client POS | (No Category) | public | 2009-03-04 06:55 | 2014-04-02 09:03 |
|
Reporter | ronny_g | |
Assigned To | adrianromero | |
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 10 | OS Version | Vista |
Product Version | | |
Target Version | 2.30 | Fixed in Version | | |
Regression date | |
Regression introduced by commit | |
Regression level | |
Review Assigned To | |
OBNetwork customer | |
Support ticket | |
Regression introduced in release | |
|
Summary | 0007926: Customer Name field cannot contain '&' symbol. |
Description | Added a new customer called 'A & Z Holdings' and saved record. No problem, accepted it okay. Left shop. Wasn't until printing ticket the next day that we get and error and garbled text on ticket.
Error
Warning: Cannot print invoice
com.openbravo.pos.printer.TicketPrinterException:
Invalid XML file. Analisis error.
org.xml.sax.SAXParseException:
The entity name must immediately follow the '&' in the entity reference.
|
Steps To Reproduce | |
Proposed Solution | If for some reason '&' symbol cannot be used in the Name field for a Customer, have script check the field when saving the Customer, not later when printing.
Many Thanks. |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2009-03-04 06:55 | ronny_g | New Issue | |
2009-03-04 06:55 | ronny_g | Assigned To | => adrianromero |
2009-03-04 06:56 | ronny_g | Issue Monitored: ronny_g | |
2009-03-04 19:07 | adrianromero | Status | new => scheduled |
2009-03-04 19:20 | adrianromero | Target Version | => 2.30 |
2009-03-19 00:16 | hgbot | Checkin | |
2009-03-19 00:16 | hgbot | Note Added: 0014790 | |
2009-03-19 00:16 | hgbot | Status | scheduled => resolved |
2009-03-19 00:16 | hgbot | Resolution | open => fixed |
2009-03-19 00:18 | adrianromero | Note Added: 0014791 | |
2009-03-19 01:33 | ronny_g | Note Added: 0014795 | |
2009-03-19 01:33 | ronny_g | Issue End Monitor: ronny_g | |
2009-04-27 17:30 | ronny_g | Status | resolved => new |
2009-04-27 17:30 | ronny_g | Resolution | fixed => open |
2009-04-27 17:30 | ronny_g | Note Added: 0015810 | |
2009-04-27 17:48 | tostinni | Note Added: 0015813 | |
2009-04-29 09:35 | adrianromero | Status | new => acknowledged |
2009-04-29 09:35 | adrianromero | Status | acknowledged => scheduled |
2009-04-29 09:35 | adrianromero | fix_in_branch | => pi |
2009-04-29 09:35 | adrianromero | Target Version | 2.30 => 2.40 |
2009-04-29 09:35 | adrianromero | fix_in_branch | pi => |
2009-04-29 16:56 | tostinni | Note Added: 0015931 | |
2009-05-06 17:37 | adrianromero | Target Version | 2.40 => 2.30 |
2009-05-06 17:47 | adrianromero | Note Added: 0016110 | |
2009-05-06 17:47 | hgbot | Checkin | |
2009-05-06 17:47 | hgbot | Note Added: 0016111 | |
2009-05-06 17:47 | hgbot | Status | scheduled => resolved |
2009-05-06 17:47 | hgbot | Resolution | open => fixed |
2011-06-03 11:01 | dalsasua | Assigned To | adrianromero => dalsasua |
2011-06-03 12:21 | dalsasua | Assigned To | dalsasua => adrianromero |
2012-11-07 09:40 | priyam | Category | 01 - General => (No Category) |
2014-04-02 09:03 | plujan | Note Added: 0065976 | |
2014-04-02 09:03 | plujan | Status | resolved => closed |
Notes |
|
(0014790)
|
hgbot
|
2009-03-19 00:16
|
|
Repository: openbravopos
Revision: 531
Author: adrianromero
Date: 2009-03-19 00:16:48 +0100 (Thu, 19 Mar 2009)
Fixes issue 0007926: Customer Name field cannot contain '&' symbol.
---
U trunk/src-pos/com/openbravo/pos/customers/CustomerInfo.java
U trunk/src-pos/com/openbravo/pos/templates/Printer.CustomerPaid.xml
U trunk/src-pos/com/openbravo/pos/templates/Printer.Ticket.xml
U trunk/src-pos/com/openbravo/pos/templates/Printer.TicketPreview.xml
---
https://dev.openbravo.com/websvn/openbravopos/?rev=531&sc=1 [^]
|
|
|
|
Default templates has been fixed but in custom receipt templates you have to replace ticket.getCustomer().getName() by ticket.getCustomer().printName() |
|
|
|
Excellent. Works well. Thanks. |
|
|
|
|
|
|
I also have this problem in another screen.
Make a sale to this customer "A & Z ...", then go to the "edit sales" screen, find the sale and try to edit it, you can't. No error appears, the sale just couldn't be edited.
Thanks a lot. |
|
|
|
Hi Adrian,
I see you updated the status of this issue to target it for the 2.40 release. I understand this won't meet 2.30 but do you have any clue to give us on how to correct this in order to try to develop a patch and submit it here ? |
|
|
|
To fix this in your database you have to modify the resources
Printer.Ticket
Printer.TicketPreview
Printer.CustomerPaid
and replace
${ticket.getCustomer().getName()}
by
${ticket.getCustomer().printName()} |
|
|
(0016111)
|
hgbot
|
2009-05-06 17:47
|
|
Repository: openbravopos
Revision: 621
Author: adrianromero
Date: 2009-05-06 17:47:25 +0200 (Wed, 06 May 2009)
Fixes issue 0007926: Customer Name field cannot contain '&' symbol.
---
U trunk/locales/pos_messages.properties
U trunk/sampledb/derby/openbravopos-database/db.lck
U trunk/sampledb/derby/openbravopos-database/log/log.ctrl
U trunk/sampledb/derby/openbravopos-database/log/log5.dat
U trunk/sampledb/derby/openbravopos-database/log/logmirror.ctrl
U trunk/sampledb/derby/openbravopos-database/seg0/c4a0.dat
U trunk/sampledb/derby/openbravopos-database/seg0/cc80.dat
U trunk/sampledb/derby/openbravopos-database/seg0/cc91.dat
---
https://dev.openbravo.com/websvn/openbravopos/?rev=621&sc=1 [^]
|
|
|
(0065976)
|
plujan
|
2014-04-02 09:03
|
|
Closed as it was in Resolved for too long |
|