Forum OpenACS Development: Re: update of the xotcl packages for oacs

Collapse
Posted by Nima Mazloumi on
Where can I find out if type has a class definition?
Collapse
Posted by Nima Mazloumi on
On a 5.1.3 installation I tried this:

CrItem instantiate -item_id 2302162

knowing that the item is a file storage object. I got this error:

ERROR:
invalid command name "::file_storage_object"
while executing
"$object_type create ::[expr {$revision_id ? $revision_id : $item_id}]"
(procedure "instantiate" line 12)
::Generic::CrItem->instantiate
invoked from within
"CrItem instantiate -item_id 2302162"
("uplevel" body line 1)
invoked from within
"uplevel 1 $script"

Oh. You mean I need to have class definition for file storage objects?