Openbravo Issue Tracking System - Java Client POS
View Issue Details
0008862Java Client POS(No Category)public2009-05-03 01:522010-07-23 00:00
ronny_g 
adrianromero 
normalminoralways
closedfixed 
10Vista
 
2.402.30.1 
0008862: Print error with & symbol for warehouse in stock maintenance
When adding items in Stock Maintenance I get an error "Cannot print Invoice" an nothing is printed.
Stock Maintenance > Add items > select = > get following error:
"Warning:Cannot Print Invoice"
"com.openbravo.pos.printer.TicketPrinterException:
Analysis error. Invalid XML file.

org.xml.sax.SAXParseException:
The entity name must immediately follow the '&' in the entity reference."
No tags attached.
Issue History
2009-05-03 01:52ronny_gNew Issue
2009-05-03 01:52ronny_gAssigned To => adrianromero
2009-05-03 01:52ronny_gIssue Monitored: ronny_g
2009-05-06 17:31hgbotCheckin
2009-05-06 17:31hgbotNote Added: 0016109
2009-05-06 17:31hgbotStatusnew => resolved
2009-05-06 17:31hgbotResolutionopen => fixed
2009-05-06 17:38adrianromeroTarget Version => 2.30
2009-05-07 00:27ronny_gStatusresolved => new
2009-05-07 00:27ronny_gResolutionfixed => open
2009-05-07 00:27ronny_gNote Added: 0016116
2009-05-13 09:41adrianromeroNote Added: 0016311
2009-05-13 09:41adrianromeroStatusnew => feedback
2009-05-14 10:11ronny_gNote Added: 0016345
2009-05-18 02:59tostinniIssue Monitored: tostinni
2009-07-01 12:34adrianromeroStatusfeedback => scheduled
2009-07-01 12:34adrianromerofix_in_branch => pi
2009-07-07 16:53adrianromeroFixed in Version => 2.40
2009-07-07 16:53adrianromeroTarget Version2.30 => 2.40
2009-07-07 16:53adrianromerofix_in_branchpi =>
2009-07-07 16:54hgbotCheckin
2009-07-07 16:54hgbotNote Added: 0017974
2009-07-07 16:54hgbotStatusscheduled => resolved
2009-07-07 16:54hgbotResolutionopen => fixed
2009-07-07 16:54hgbotFixed in SCM revision => http://code.openbravo.com/pos/devel/main/rev/316771ef9391ecf62d72ee28da15252966dd39bf [^]
2010-07-22 13:54adrianromeroStatusresolved => closed
2010-07-22 14:01adrianromeroFixed in Version2.40 => 2.30.1
2010-07-23 00:00anonymoussf_bug_id0 => 3033252
2012-11-07 09:40priyamCategory01 - General => (No Category)

Notes
(0016109)
hgbot   
2009-05-06 17:31   
Repository: openbravopos
Revision: 620
Author: adrianromero
Date: 2009-05-06 17:31:11 +0200 (Wed, 06 May 2009)

Fixes issue 0008862: Print error with & symbol for warehouse in stock maintenance

---
U trunk/src-pos/com/openbravo/pos/inventory/InventoryLine.java
---

https://dev.openbravo.com/websvn/openbravopos/?rev=620&sc=1 [^]
(0016116)
ronny_g   
2009-05-07 00:27   
Hi Adrian,

Unfortunately I still get same error using svn621.
I enter stock maitenance>select 2>select a product>Select = >get error described above>nothing printed.

Regards,
Ronny
(0016311)
adrianromero   
2009-05-13 09:41   
Hello Ronny.

Please,check that the Printer.Inventory you are using is the default file. With the default Printer.Inventory resource the change in revision 620 fixes the problem.

If it does, there should be something in your Printer.Inventory resource that throws the error. It it is this, let me know the differences.

Thanks.
(0016345)
ronny_g   
2009-05-14 10:11   
Hi Adrian,

Yes. It is default Printer.Inventory template and all looks normal.

I think it has more to do with the warehouse name is used as:
 <text>Location: ${inventoryrecord.printLocation()}</text>

I cannot see reference to printLocation() in InventoryLine.java.

Regards,
Ronny
(0017974)
hgbot   
2009-07-07 16:54   
Repository: pos/devel/main
Changeset: 316771ef9391ecf62d72ee28da15252966dd39bf
Author: Adrián Romero <adrianromero <at> openbravo.com>
Date: Tue Jul 07 16:53:43 2009 +0200
URL: http://code.openbravo.com/pos/devel/main/rev/316771ef9391ecf62d72ee28da15252966dd39bf [^]

Fixes issue 0008862: Print error with & symbol for warehouse in stock maintenance

---
M src-pos/com/openbravo/pos/inventory/InventoryRecord.java
---