Fixed
Details
Assignee
Michael OffnerMichael OffnerReporter
Max SpicerMax Spicer(Deactivated)Priority
NewLabels
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Details
Details
Assignee
Michael Offner
Michael OffnerReporter
Max Spicer
Max Spicer(Deactivated)Priority
Labels
New Issue warning screen
Before you create a new Issue, please post to the mailing list first https://dev.lucee.org
Once the issue has been verified, one of the Lucee team will ask you to file an issue
Created 20 November 2015 at 15:08
Updated 14 May 2021 at 10:45
Resolved 11 April 2016 at 10:12
If cfstoredproc is used to call a procedure with parameters within an Oracle package, it fails if you try to specify a schema name. The error returned is:
ORA-06550: line 1, column 7: PLS-00306: wrong number or types of arguments in call to 'TESTPROC' ORA-06550: line 1, column 7: PL/SQL: Statement ignored
calling lucee_bug_test.testfunc
This only happens when a schema is specified and only occurs if parameters are passed to the procedure. It may be a problem with the way lucee handles the extra dot when parsing the package/procedure name.
An example of code that triggers this bug (note the schema name that prefixes the package):
<cfstoredproc procedure="myschema.mypackage.myproc" datasource="#ds#" username="#dsUser#" password="#dsPass#">
<cfprocparam cfsqltype="cf_sql_varchar" value="foo">
</cfstoredproc>
The following code would not trigger this bug as no schema is specified:
<cfstoredproc procedure="mypackage.myproc" datasource="#ds#" username="#dsUser#" password="#dsPass#">
<cfprocparam cfsqltype="cf_sql_varchar" value="foo">
</cfstoredproc>
The attached files demonstrate this bug.