Why is item_id not a valid arg for the xo::db version of content_item__new in cr-procs.tcl?
if {[apm_version_names_compare [ad_acs_version] 5.2] > -1} {
ns_log notice "--OpenACS Version 5.2 or newer [ad_acs_version]"
CrItem set content_item__new_args {
-name $name -parent_id $parent_id -creation_user $creation_user \
-creation_ip $creation_ip \
-item_subtype "content_item" -content_type $object_type \
-description $description -mime_type $mime_type -nls_language $nls_la\
nguage \
-is_live f -storage_type $storage_type -package_id $package_id
}
} else {
This makes it very difficult to use/extend xowiki, since the item_id in the form before submit does not correspond to the item that is actually created. How would anyone ever figure out how this works witout reading all the source?
if {[apm_version_names_compare [ad_acs_version] 5.2] > -1} {
ns_log notice "--OpenACS Version 5.2 or newer [ad_acs_version]"
CrItem set content_item__new_args {
-name $name -parent_id $parent_id -creation_user $creation_user \
-creation_ip $creation_ip \
-item_subtype "content_item" -content_type $object_type \
-description $description -mime_type $mime_type -nls_language $nls_la\
nguage \
-is_live f -storage_type $storage_type -package_id $package_id
}
} else {
This makes it very difficult to use/extend xowiki, since the item_id in the form before submit does not correspond to the item that is actually created. How would anyone ever figure out how this works witout reading all the source?
Is there a fundamental reason item_id is not passed to content_item__new for CrItem xotcl objects?
Request notifications