Forum OpenACS Development: Re: Status of search in HEAD

Collapse
Posted by Peter Alberer on
I think the function "acs_sc_generate_name" should be changed to something like that:

ad_proc -private acs_sc_generate_name {
    contract
    impl
    operation
} {
    generate the internal proc name.

    @author Neophytos Demetriou
} {
    set sql_str "select impl_alias
        from acs_sc_impl_aliases
        where impl_name =:impl and impl_contract_name = :contract and impl_operation_name = :operation"

    return [db_string get_data $sql_str -default 0]
}

Collapse
Posted by Peter Alberer on
Just for the records, the hint above is nonsense. I did oversee some other functions, in the service contract package.