error creation jasper report based on queries with sub report
Bug #1011565 reported by
Joana Gomes
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openobject-jasper-reports |
New
|
Undecided
|
Unassigned |
Bug Description
hello...
im using jasper_reports addons and created a report using iReport with JDBC connections to my postgresql database with sql query as the datasource. if i use only a master report, its fine to openerp to show. going further on report design and adding a sub report to the master, using a query and paramenters returned from the master report. in iReport there is no problem but when i try to call it from openerp an error occured:
<Fault 0: 'Failed to invoke method execute in class com.nantic.
I've add all the paramenters necessary like: SUBREPORT_DIR or OPENERP_
thks
summary: |
- error creation jasper report based on queries with sub report + error creation jasper report based on queries with sub reportasdasdasd |
summary: |
- error creation jasper report based on queries with sub reportasdasdasd + error creation jasper report based on queries with sub report |
To post a comment you must log in.
Hello,
i had the same problem. It seems like subreports aren't compiled when using sql based jasper reports.
Besides that, if you compile it manually from iReport obtaining the .jasper file, you get the error you mention (using iReport 4.6.0 as i do).
The work around i have found is to create new objects (jasper report actions) with each subreport as main report. It forces to compile such subreports and then you can put them in place for your main report to work.
Eduardo