Openbravo Issue Tracking System - Java Client POS |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0014268 | Java Client POS | (No Category) | public | 2010-08-24 02:43 | 2010-10-22 17:27 |
|
Reporter | holyfield | |
Assigned To | adrianromero | |
Priority | urgent | Severity | minor | Reproducibility | always |
Status | closed | Resolution | duplicate | |
Platform | | OS | 5 | OS Version | ALL OS |
Product Version | 2.30.1 | |
Target Version | 2.40 | Fixed in Version | | |
Regression date | |
Regression introduced by commit | |
Regression level | |
Review Assigned To | |
OBNetwork customer | No |
Support ticket | |
Regression introduced in release | |
|
Summary | 0014268: ${ticketline.printName()} instead of product name |
Description | I have problem viewing and printing closed tickets. It does not show product name on ticket lines, it outputs ${ticketline.printName()} instead of product name.
I attached the sample image too.
This is platform independent, as this occurs on any platform, Linux, Windows, Mac.
As I understanding, it couldn't read XML properties from ticket line? |
Steps To Reproduce | open closed tickets
enter ticket number
ticket opens |
Proposed Solution | To fix the problem :)
Don't hesitate to contact regarding the issue. |
Additional Information | |
Tags | No tags attached. |
Relationships | duplicate of | defect | 0014585 | 2.40 | closed | adrianromero | Cannot load the receipt in the Edit sales window |
|
Attached Files | 100824-0001.jpg (20,180) 2010-08-24 02:43 https://issues.openbravo.com/file_download.php?file_id=2896&type=bug

|
|
Issue History |
Date Modified | Username | Field | Change |
2010-08-24 02:43 | holyfield | New Issue | |
2010-08-24 02:43 | holyfield | Assigned To | => adrianromero |
2010-08-24 02:43 | holyfield | File Added: 100824-0001.jpg | |
2010-08-24 03:03 | holyfield | Note Added: 0030239 | |
2010-08-24 09:02 | adrianromero | Note Added: 0030241 | |
2010-08-24 09:02 | adrianromero | Severity | critical => minor |
2010-08-24 09:02 | adrianromero | Status | new => scheduled |
2010-08-24 09:02 | adrianromero | Target Version | => 2.40 |
2010-08-24 14:28 | holyfield | Note Added: 0030251 | |
2010-08-26 13:25 | mcelone | Note Added: 0030350 | |
2010-08-26 13:25 | mcelone | Note Edited: 0030350 | bug_revision_view_page.php?bugnote_id=0030350#r733 |
2010-08-26 13:26 | mcelone | Note Edited: 0030350 | bug_revision_view_page.php?bugnote_id=0030350#r734 |
2010-08-26 13:26 | mcelone | Note Edited: 0030350 | bug_revision_view_page.php?bugnote_id=0030350#r735 |
2010-08-26 13:48 | holyfield | Note Added: 0030352 | |
2010-08-26 13:49 | holyfield | Note Edited: 0030352 | bug_revision_view_page.php?bugnote_id=0030352#r737 |
2010-09-16 17:48 | adrianromero | Relationship added | duplicate of 0014585 |
2010-09-16 17:48 | adrianromero | Note Added: 0031172 | |
2010-09-16 17:48 | adrianromero | Status | scheduled => closed |
2010-09-16 17:48 | adrianromero | Resolution | open => duplicate |
2010-09-17 00:00 | anonymous | sf_bug_id | 0 => 3068049 |
2010-10-22 17:27 | rooter | Note Added: 0032123 | |
2012-11-07 09:40 | priyam | Category | 01 - General => (No Category) |
Notes |
|
|
I guess it might be related with method below on class TicketLineInfo
This method reads XML from database field ATTRIBUTES which is mediumblob data type.
public void readValues(DataRead dr) throws BasicException {
m_sTicket = dr.getString(1);
m_iLine = dr.getInt(2).intValue();
productid = dr.getString(3);
attsetinstid = dr.getString(4);
multiply = dr.getDouble(5);
price = dr.getDouble(6);
tax = new TaxInfo(dr.getString(7), dr.getString(8), dr.getString(9), dr.getTimestamp(10), dr.getString(11), dr.getString(12), dr.getDouble(13), dr.getBoolean(14), dr.getInt(15));
attributes = new Properties();
try {
byte[] img = dr.getBytes(15);
if (img != null) {
attributes.loadFromXML(new ByteArrayInputStream(img));
}
} catch (IOException e) {
}
} |
|
|
|
|
|
|
I can confirm that issue is actual with both MySQL or default database. |
|
|
(0030350)
|
mcelone
|
2010-08-26 13:25
(edited on: 2010-08-26 13:26) |
|
we fix this bug. to resolve this you have to change in TicketLineInfo.java al line 154 dr.getBytes(15) to dr.getBytes(16)
|
|
|
(0030352)
|
holyfield
|
2010-08-26 13:48
(edited on: 2010-08-26 13:49) |
|
Cool!
Thank you!
I will try to recompile the source and will test it!
Do you include this fix into next release too?
|
|
|
|
The fix for this issue is the same of issue 14585 |
|
|
(0032123)
|
rooter
|
2010-10-22 17:27
|
|
Hey guys... I have same problem with ticket... But I can`t find TicketLineInfo.java? My OS is Ubuntu 10.04 64 bits, obPOS 2.30.1
Can someone help me?
Thank you in advance |
|