Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0010206Openbravo ERPA. Platformpublic2009-08-06 13:552012-09-25 13:59
villind 
marvintm 
highmajoralways
scheduledopen 
5
2.40MP5 
 
Core
No
0010206: Jasper report translation removes nessessary spaces from textFieldExpression element
Jasper report translation removes nessessary spaces from textFieldExpression element when space character is used in concatenation.

Example:
Orginal:
<![CDATA[$F{BOM_VALUE} + " " + $F{BOM_NAME}]]>
After translation:
<![CDATA[$F{BOM_VALUE} + "" + $F{BOM_NAME}]]>
1. Create a Jasper report that concatenates two fields using space as a separator.
2. Run the translation
3. See the resulted file
Don't translate the single space.

See the attached patch.
No tags attached.
diff Translate-textfieldExpressions-concatenation-fix.diff (667) 2009-08-06 13:55
https://issues.openbravo.com/file_download.php?file_id=1625&type=bug
Issue History
2009-08-06 13:55villindNew Issue
2009-08-06 13:55villindAssigned To => rafaroda
2009-08-06 13:55villindFile Added: Translate-textfieldExpressions-concatenation-fix.diff
2009-08-31 10:12rafarodaNote Added: 0019318
2009-08-31 10:12rafarodaAssigned Torafaroda => alostale
2009-08-31 10:12rafarodaPrioritynormal => high
2009-08-31 10:12rafarodaStatusnew => acknowledged
2009-08-31 10:12rafarodaIssue Monitored: rafaroda
2009-10-05 17:40alostaleAssigned Toalostale => marvintm
2012-06-15 16:55alostaleTypedefect => design defect
2012-09-25 13:59AugustoMauchNote Added: 0052577
2012-09-25 13:59AugustoMauchStatusacknowledged => scheduled

Notes
(0019318)
rafaroda   
2009-08-31 10:12   
Asier,

Can you please comment on this issue?

Thanks.
(0052577)
AugustoMauch   
2012-09-25 13:59   
Effort: 1
Impact: low
Plan: short