[#786] - Warn selecting subreport return variable if not calc System

Category:
Feature request
Priority:
Low
Status:
Assigned
Project: Severity:
Trivial
Resolution:
Open
Component: Reproducibility:
Always
Assigned to:
0

Issue moved from:
https://sourceforge.net/tracker/index.php?func=detail&aid=1501091&group_...

Consult the original issue for any attachments.

[ 1501091 ] Warn selecting subreport return variable if not calc System

Submitted By: Jamie - jpm1234
Date Submitted: 2006-06-05 09:08
Last Updated By: Item Submitter - Tracker Item Submitted
Date Last Updated: No updates since submission
Number of Comments: 0
Number of Attachments: 0

Assigned To: Nobody/Anonymous
Priority: 5

Summary:
Warn selecting subreport return variable if not calc System

When you return a value from a subreport to a master variable, this variable should have calculation="System":
http://jasperreports.sourceforge.net/reference/index2.html#returnValue

When adding a subreport return value it would be helpful to warn the user if the local destination variable in the master report that they choose is not calculation type "System".

I ran into this issue because I wasn't aware of the requirement.. it doesn't throw an error either when the report is run (jasper 1.2.2). It just doesn't evaluate properly and usually returns null instead of the expected value (if it's not System).

Thanks!
Jamie

No follow-up comments have been posted.

No Files Currently Attached

tcloonan's picture
1291
Joined: Dec 22 2006 - 1:13am
Last seen: 14 years 11 months ago
Feedback
randomness