Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0006706
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminoralways2008-12-20 17:092009-04-21 12:36
ReportericiordiaView Statuspublic 
Assigned Toshuehner 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revision12512
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version1.6
OS VersionDatabase versionAnt version1.7
Product VersionpiSCM revision11439 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0006706: "/n" character is removed from jrxml file when executed through Openbravo

Description"/n" character is removed from jrxml file when executed through Openbravo. If the sql statement within it uses "/n" characters to separate the expresions, when executing the report and after removing this character it fails (the sql statement is wrong).
Steps To ReproduceIn any report in the system, edit the sql statatement so the last expresion in the SELECT clause and the FROM clause are only separated by a new line ("/n") character. Execute it through iReports and it works. If you execute it through Openbravo it fails.
Proposed SolutionCheck if the root cause of the problem is in Openbravo (eg. openbravo uses a parser to load the jrxml file, or the translation process copies it after parsing it) or in Jasper Reports.

If it is in Openbravo, change the behaviour of the parser to avoid removing new line character when parsing.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0009328 closediperdomo String out of index: -1 error appears, when a jasper report contains a \n in one field 

-  Notes
(0012849)
svnbot (reporter)
2009-01-29 17:50

Repository: openbravo
Revision: 12512
Author: huehner
Date: 2009-01-29 17:50:55 +0100 (Thu, 29 Jan 2009)

Fixed 6706
Do not remove all newline characters when doing online translation
of i.e. jasper report designs, as this breaks embedded sql statements
with several lines and not leading/trailing spaces around a linebreak.

---
U trunk/src-core/src/org/openbravo/uiTranslation/TranslationHandler.java
---

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

- Issue History
Date Modified Username Field Change
2008-12-20 17:09 iciordia New Issue
2008-12-20 17:09 iciordia Assigned To => iperdomo
2008-12-20 17:09 iciordia sf_bug_id 0 => 2454363
2008-12-20 17:09 iciordia Regression testing => No
2009-01-02 18:56 iperdomo Status new => scheduled
2009-01-02 18:56 iperdomo fix_in_branch => trunk
2009-01-28 14:46 iperdomo Assigned To iperdomo => shuehner
2009-01-29 17:50 svnbot Checkin
2009-01-29 17:50 svnbot Note Added: 0012849
2009-01-29 17:50 svnbot Status scheduled => resolved
2009-01-29 17:50 svnbot Resolution open => fixed
2009-01-29 17:50 svnbot svn_revision => 12512
2009-04-21 12:36 psarobe Status resolved => closed
2009-06-04 11:20 rafaroda Relationship added related to 0009328


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker