Forum OpenACS Q&A: Categories 1.0d3 error

Collapse
Posted by Ben Chan on
I'm not sure if i need a new version of acs-templating (currently 5.0.4), but template::multirow is calling sort, but it's not an actual command from the api.

The error I get from http://server/categories/cadmin/object-map?object%5fid=XXXX:
Unknown command sort in template::multirow.
      Must be create, extend, append, backup, get, set, size, upvar, or foreach.
    while executing
"error "Unknown command $command in template::multirow.
      Must be create, extend, append, backup, get, set, size, upvar, or foreach.""
    ("default" arm line 2)
    invoked from within
"switch -exact $command {

    create {
      upvar $multirow_level_up $name:rowcount rowcount $name:columns columns
      set rowcount 0
      set col..."
    (procedure "template::multirow" line 9)
    invoked from within
"template::multirow sort mapped_trees -dictionary tree_name"
    ("uplevel" body line 40)
    invoked from within
"uplevel {
    	  ad_page_contract {
    
    This entry page for different object in ACS that
    need to manage which categories that can be mapped
 ..."
Collapse
2: Re: Categories 1.0d3 error (response to 1)
Posted by Ben Chan on
After taking a look at the OpenACS 5.1 api-docs, it looks like sort is in there, but not in 5.0.4.

Sorry about that.