Forum OpenACS Development: Re: Oracle issue with acs-tcl package 5.10.1 official

Collapse
Posted by Jonathan Kelley on
Hi Brian,

Thanks for the response but what I didn't include was the value of $argument_value is the result of this call:

set argument_value [:dbfunction_argument_value -name $argument_name -type $type]

In this `dbfunction_argument_value` it has this logic

if {[dict exists [:typemap] $type]} {
string cat CAST(: [string tolower $name] " AS " $type )
} else {
string cat : [string tolower $name]
}

So the result ends up being multiple `:` characters preceding the variable name which is the cause of the error.

Best,
Jon

Collapse
Posted by Gustaf Neumann on
Jonatan, i your solution looks right to me, but i could not test it so far. If it works for you, just go on with this for the time being.
-g