Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0004531Openbravo ERPZ. Otherspublic2008-07-28 12:312008-12-04 07:32
xplacesc 
dalsasua 
highmajoralways
closedfixed 
10XP
2.40beta 
2.40 
Core
No
0004531: Print Error
Error rises when trying to print any commercial document.

Following text appear:

Error:
Errors were encountered when compiling report expressions class file: 1. String literal is not properly closed by a double-quote value = (java.lang.String)(((java.lang.String)field_ENTITY.getValue())+"/*$JR_EXPR_ID=18$*/ <------------------> 2. String literal is not properly closed by a double-quote value = (java.lang.String)(((java.lang.String)field_ENTITY.getOldValue())+"/*$JR_EXPR_ID=18$*/ <------------------> 3. String literal is not properly closed by a double-quote value = (java.lang.String)(((java.lang.String)field_ENTITY.getValue())+"/*$JR_EXPR_ID=18$*/ <------------------> 3 errors
Go to any commercial document (for example Purchase Order) and try to print
No tags attached.
has duplicate defect 0004770 closed cromero Problem to print invoices and orders 
related to defect 0004666 closed Dowid Import process does not read correctly \n 
rar Print Error.rar (57,247) 2008-07-28 12:31
https://issues.openbravo.com/file_download.php?file_id=192&type=bug
? C_OrderJR.jrxml (21,924) 2008-08-18 15:11
https://issues.openbravo.com/file_download.php?file_id=214&type=bug
Issue History
2008-07-28 12:31xplacescNew Issue
2008-07-28 12:31xplacescAssigned To => cromero
2008-07-28 12:31xplacescsf_bug_id0 => 2030190
2008-07-28 12:31xplacescFile Added: Print Error.rar
2008-07-28 19:04psarobeAssigned Tocromero => psarobe
2008-07-28 19:04psarobeAssigned Topsarobe => dalsasua
2008-07-28 19:11psarobePrioritynormal => high
2008-07-28 19:12psarobeStatusnew => scheduled
2008-07-28 19:12psarobefix_in_branch => trunk
2008-07-30 10:41joanNote Added: 0008430
2008-07-31 11:33svnbotCheckin
2008-07-31 11:33svnbotNote Added: 0008449
2008-07-31 11:33svnbotStatusscheduled => resolved
2008-07-31 11:33svnbotResolutionopen => fixed
2008-07-31 11:33svnbotsvn_revision => 6075
2008-07-31 12:42svnbotCheckin
2008-07-31 12:42svnbotNote Added: 0008453
2008-07-31 12:42svnbotsvn_revision6075 => 182
2008-08-18 15:11xplacescStatusresolved => new
2008-08-18 15:11xplacescResolutionfixed => open
2008-08-18 15:11xplacescNote Added: 0008590
2008-08-18 15:11xplacescFile Added: C_OrderJR.jrxml
2008-08-18 16:16psarobeStatusnew => scheduled
2008-08-19 14:38svnbotCheckin
2008-08-19 14:38svnbotNote Added: 0008620
2008-08-19 14:38svnbotStatusscheduled => resolved
2008-08-19 14:38svnbotResolutionopen => fixed
2008-08-19 14:38svnbotsvn_revision182 => 6404
2008-08-20 10:35svnbotCheckin
2008-08-20 10:35svnbotNote Added: 0008629
2008-08-20 10:35svnbotsvn_revision6404 => 6418
2008-09-01 09:43psarobeRelationship addedhas duplicate 0004770
2008-09-04 16:22psarobeTarget Version => 2.40
2008-12-04 07:32krishnaRegression testing => No
2008-12-04 07:32krishnaStatusresolved => closed
2009-01-19 16:07DowidRelationship addedrelated to 0004666

Notes
(0008430)
joan   
2008-07-30 10:41   
Hi, Have you changed in anyway the report with ireport?, something near happend to me and it was because i was using the wrong version of Ireport, it seams you should use the compatibility mode 1.33(or near)

If you didn't change anything I apologize.
(0008449)
svnbot   
2008-07-31 11:33   
Repository: openbravo
Revision: 6075
Author: eduardoargal
Date: 2008-07-31 11:33:31 +0200 (Thu, 31 Jul 2008)

Fixes bug 0004531 Print Error

---
U trunk/src/org/openbravo/erpReports/RptC_Invoice_TaxLines.jasper
---

https://dev.openbravo.com/websvn/openbravo/?rev=6075&sc=1 [^]
(0008453)
svnbot   
2008-07-31 12:42   
Repository: localization
Revision: 182
Author: davidalsasua
Date: 2008-07-31 12:42:22 +0200 (Thu, 31 Jul 2008)

Fixes Bug 0004531

---
U translations/es_ES/trunk/AD_TEXTINTERFACES_TRL_es_ES.xml
---

https://dev.openbravo.com/websvn/localization/?rev=182&sc=1 [^]
(0008590)
xplacesc   
2008-08-18 15:11   
Problem seems to be not solved. After changing AD_TEXTINTERFACES_TRL_es_ES.xml, same problemm occurs. For any reason, "\n" character in expression literals within jasper template, have been converted to real \n characters by the translation process (so introducing a real line jump). I attach an example of this with C_OrderJR.jrxml.


Related to this, additionally to RptC_Invoice_TaxLines.jasper, there are also other jasper not compiled which don't translate properly to spanish:

* RptC_OrderPO_Lines.jasper
* RptC_Invoice_Lines.jasper
* C_OrderLinesJR.jasper
(0008620)
svnbot   
2008-08-19 14:38   
Repository: openbravo
Revision: 6404
Author: iperdomo
Date: 2008-08-19 14:38:31 +0200 (Tue, 19 Aug 2008)

Fixes bug 4531: Modified templates. Removed the \n string and used two textfields to separate lines

---
U trunk/src/org/openbravo/erpReports/C_OrderJR.jrxml
U trunk/src/org/openbravo/erpReports/RptC_Invoice.jrxml
---

https://dev.openbravo.com/websvn/openbravo/?rev=6404&sc=1 [^]
(0008629)
svnbot   
2008-08-20 10:35   
Repository: openbravo
Revision: 6418
Author: iperdomo
Date: 2008-08-20 10:35:20 +0200 (Wed, 20 Aug 2008)

Fixes issue 4531: Removed \n from textfields expressions

---
U trunk/src/org/openbravo/erpCommon/ad_reports/ReportAnnualCertification.jrxml
U trunk/src/org/openbravo/erpReports/RptC_OrderPO.jrxml
---

https://dev.openbravo.com/websvn/openbravo/?rev=6418&sc=1 [^]