Fixed
Details
Assignee
Igal SapirIgal SapirReporter
MartinFMartinFPriority
MajorLabels
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
Sprint
NoneAffects versions
Details
Details
Assignee
Igal Sapir
Igal SapirReporter
MartinF
MartinFPriority
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
Sprint
None
Affects versions
Created 7 January 2017 at 19:55
Updated 23 July 2019 at 22:43
Resolved 1 February 2018 at 16:31
When executing procedures via synonyms which contain # Lucee does create a SQL statement without parameters and therefore Oracle responds with the following exception:
PLS-00306: wrong number or types of arguments in call to 'TESTPROC2' ORA-06550
Generated SQL: call BU#.testproc2()
The attached test includes the SQL to generate the package with 2 procedures and a synonym for the package.
Calling the package by normal name succeeds for calls with and without parameters. Calling the package by synonym succeeds for calls without paramaters. Calls by synonym with parameter fail with the above exception.
This is an isolated test case and i could reproduce it on Oracle Express 11. The behaviour for Oracle Enterprise is the same.
The test is build upon the test case of the related bug (LDEV-637).
Related google group post:
https://groups.google.com/forum/#!topic/lucee/UCwt4FFExX8
Any help is appreciated. Thanks in advance!