Title:
Sub reports don't allow for InitializeReport() nor allow for instantiation of objects
| View in TrackerStatus/Resolution/Reason: Closed/Withdrawn/CannotReproduce
Reporter/Name(from Bugbase): M Bean / M Bean (M Bean)
Created: 12/02/2014
Components: Reporting
Versions: 10.0
Failure Type: Crash
Found In Build/Fixed In Build: Final /
Priority/Frequency: Critical / Some users will encounter
Locale/System: English / Windows 7 64-bit
Vote Count: 0
Problem Description:
CFR Subreports don't allow for InitializeReport() nor allow for instantiation of objects. Since objects are not accessible, functions have to be embedded into each report separately, which is undesirable when certain functions are necessary for various reports (user.getAddress(), for example).
Steps to Reproduce:
In query or in a function of a sub-report, instantiate an object using either createObject or cfobject.
Actual Result:
Report crashes.
Expected Result:
Report doesn't crash, object is created, and object is accessible.
Any Workarounds:
None that are pleasant. The only workaround we have is to add the function to the report. That works fine when important parameters can be passed to the function, but if the function needs to perform data access, it probably won't work.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3861026
External Customer Info:
External Company:
External Customer Name: bean5b
External Customer Email:
External Test Config: My Hardware and Environment details:
CF 10, no updates.
Attachments:
Comments: