Forum .LRN Q&A: Re: ILS Package for .LRN

Collapse
4: Re: ILS Package for .LRN (response to 1)
Posted by Rafael Chacon on
Oh ok. I found what it was. template:form:get_properties is no longer a function in template. I changed it to template::form:get_values and it worked fine.

Maybe is a good idea to made this changes in the mainstream of ILS :)

Greetings

Collapse
5: Re: ILS Package for .LRN (response to 4)
Posted by Emmanuelle Raffenne on
Hi Rafael,

template::form::get_values and template::form::get_properties are not equivalent and do not return the same result. Although changing the call to get_values avoids getting the "missing proc" error, it won't get the data needed by the script.

We (UNED) added the get_properties proc in version 2.5 but we did it locally and forgot to contribute it back to the openacs.org repository, our bad. I've fixed that and the proc is now available at oacs-5-5 branch and on HEAD.

If you are using the last stable version, update your acs-templating/tcl/form-procs.tcl file from openacs.org repository, branch oacs-5-5.