Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nested subreport is ignored #5

Open
ngervasi opened this issue Jun 3, 2024 · 2 comments
Open

Nested subreport is ignored #5

ngervasi opened this issue Jun 3, 2024 · 2 comments

Comments

@ngervasi
Copy link

ngervasi commented Jun 3, 2024

Hi,
I'm upgrading an old solution from Servoy 5.x to Servoy 2022.12 with smart clients, Java 17.
I had to upgrade Jasper Report plugin to the latest (6.21.0) and adjust xml syntax for images and subreports. So far so good: my reports work fine when launched from a smart client opened within Servoy Developer.

The problem happens when I deploy the reports in production: the smart client (launched with the bootstrap.jar) works fine but when I run the report a nested subreport (2 levels deep) doesn't work.

The report has 1 subreport (header 1) and the subreport has a second subreport (header 2).
In developer/smart both are rendered, in SC on production only the first (outer) is rendered, the nested one is ignored.

I say ignored because I receive no error even if I change the subreport path to some non existing file.

Any clues?

@jcompagner
Copy link

that is weird that there is a difference like that, (that it works in the same servoy version with the same jasper version in developer compared to runtime)
not errors in the java console at runtime?

@ngervasi
Copy link
Author

ngervasi commented Jun 3, 2024

Hi Johan,
no error. nothing. It's just ignored, I tried to punt intentionally a fake filename for the second subreport and it doesnt raise any error; if I do the same for the first subreport it throws an error. Seems like the neted subreport is completely skipped.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants