'Jasper report : invalid path for subreport
I have 2 jasperserver, I exported the report from the first one and imported them on the second one. But when i tried to edit my report using rest service, I have 400 BAD REQUEST because all my subreport path where replaced by repo:subreportName.jrxml.
In my 2 servers I have the same folder hierarchy :
root
- organisation
- project
- report folder 1
- report 1
- sub report 1
- sub report 2
- report folder 2 ...
- report folder 1
- project
I tried to overwrite the subreports path to have something more global but all my tentative didn't worked. Here a list of all my tentative
/root/Organisation/Project/Reports/Reports-family/report-folder/sub_report_1.jrxml
/root/Project/Reports/Reports-family/VERSEMENT/MERGE_ROOT_VERSEMENT/sub_report_1
/Organisation/Project/Reports/Reports-family/report-folder/sub_report_1
/Organisation/Project/Reports/Reports-family/report-folder/sub_report_1.jrxml
/Project/Reports/Reports-family/report-folder/sub_report_1.jrxml
/Project/Reports/Reports-family/report-folder/sub_report_1
sub_report_1
sub_report_1.jrxml
./sub_report_1.jrxml
./sub_report_1
repo:sub_report_1
repo:sub_report_1.jrxml
If someone have any clue to how I can solve this issue, he would have all my thanks.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|