[#11486] - compatibility setting does not work

Category:
Bug report
Priority:
Normal
Status:
New
Project: Severity:
Minor
Resolution:
Open
Component: Reproducibility:
Always
Assigned to:
0

I have set my compatibility to 4.6.0 JRXML source.
I have modified a frame to have border split type "Draw borders" (the designer allows me to do it). Then the source shows the attribute borderSplitType="DrawBorders".
When saving, the source keeps the attribute happily, though it is not part of 4.6.0 schema (afaik, it was added to the schema in August 2014, and 4.6.0 was released in May 2012).
Displaying or not a warning message about the compatibility setting does not make any difference.

I am using Jaspersoft Studio 6.6.0.

I have tried setting the compiler to use 4.6.0 (adding previously 4.6.0 in the manage JR versions dialog, with its corresponding jar file), but then I get:

An internal error occurred during: "Building report".
java.lang.NoClassDefFoundError: Could not initialize class net.sf.jasperreports.engine.DefaultJasperReportsContext

even if I add the JR 4.6.0 jar file to the project build path.

Any help is much appreciated. Thanks,

Rafa

v6.6.0
ra7's picture
ra7
2
Joined: Aug 9 2017 - 7:56am
Last seen: 2 months 1 week ago
Feedback
randomness