Product:
CF 7 BugHunt
User:
Anonymous
[
Switch Product
]
CFUG:
None
Add and View Bug Comments at the bottom of the Element.
Title:
CF8.01 error Looping over<cfreportparam subreport
BugID:
1389
Date Opened:
22-Sep-08
Created By:
harkirat
Type:
CF Admin/Server
Element/Element:
<cfreportparam subreport=
Severity:
Generates an Error
Status:
New/Unvalidated
Adobe BugID:
Description of bug:
******BUG****** Concise problem statement: Looping over a <cfreportparam subreport="somesubreaportname" query="somequeryname"> throws a "The system has attempted to use an undefined value, which usually indicates a programming error, either in your code or some system code. Null Pointers are another name for undefined values. " error in 8.01. This worked fine in codfusion server ver. 8.00 Steps to reproduce bug: 1. Create a report with a subreport in it 2. Pass the query to the subreport via the cfreportparam tag 3. Loop over the cfreportparam tag e.g. <cfloop from="1" to="2" index="i"> <cfquery datasource="lowside_acrx2fdd_rest" name="qry_#i#"> select * from All_Units </cfquery> <cfreport template="test.cfr" filename="test_#i#.pdf" overwrite="yes" format="pdf"> <cfreportparam subreport="testsubrep" query="qry_#i#"> </cfreport> </cfloop> Results: Throws mentioned error. Expected results: Should loop over the subreport param and run the code as expected
Comments:
--->
A D D Y O U R C O M M E N T S T O T H I S B U G
Please login to add comments to a bug
C O M M E N T S
Comment display is being revamped. We apologize for the delay.