Forum OpenACS Development: Status of search in HEAD

Collapse
Posted by Peter Alberer on
Hi there,

i just wanted to ask if the search package is supposed to work in the current HEAD revision, as i have some problems with it. The search page tells me that the fts-engine driver is not installed.
I dont know a lot about the service-contract thing used here, but it seems as if the service controller can not find functions that are in fact available.
the error-mesg is: Warning: ACS-SC: Function Not Found: "AcsSc.FtsEngineDriver.info.openfts-driver"
The function is simple called openfts_driver__info.

tia, peter

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.