Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0014268 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Java Client POS] (No Category) | minor | always | 2010-08-24 02:43 | 2010-10-22 17:27 | |||
Reporter | holyfield | View Status | public | |||||
Assigned To | adrianromero | |||||||
Priority | urgent | Resolution | duplicate | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | 2.40 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | ALL OS | Database version | MySQL 5.1.36 | Ant version | ||||
Product Version | 2.30.1 | SCM revision | ||||||
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. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() | |||||||
![]() |
||||||||
|
![]() |
|
(0030239) holyfield (viewer) 2010-08-24 03:03 |
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) { } } |
(0030241) adrianromero (manager) 2010-08-24 09:02 |
Modifying severity according Bug reporting guidelines. http://wiki.openbravo.com/wiki/Bug_Reporting_Guidelines#How_to_Choose_the_Right_Severity [^] |
(0030251) holyfield (viewer) 2010-08-24 14:28 |
I can confirm that issue is actual with both MySQL or default database. |
(0030350) mcelone (viewer) 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 (viewer) 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? |
(0031172) adrianromero (manager) 2010-09-16 17:48 |
The fix for this issue is the same of issue 14585 |
(0032123) rooter (viewer) 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 |
![]() |
|||
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 | View Revisions |
2010-08-26 13:26 | mcelone | Note Edited: 0030350 | View Revisions |
2010-08-26 13:26 | mcelone | Note Edited: 0030350 | View Revisions |
2010-08-26 13:48 | holyfield | Note Added: 0030352 | |
2010-08-26 13:49 | holyfield | Note Edited: 0030352 | View Revisions |
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) |
Copyright © 2000 - 2009 MantisBT Group |