Index: openacs-4/packages/xowiki/tcl/xowiki-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/tcl/xowiki-procs.tcl,v diff -u -r1.485.2.28 -r1.485.2.29 --- openacs-4/packages/xowiki/tcl/xowiki-procs.tcl 5 Jun 2016 12:45:53 -0000 1.485.2.28 +++ openacs-4/packages/xowiki/tcl/xowiki-procs.tcl 19 Sep 2016 13:48:23 -0000 1.485.2.29 @@ -1392,12 +1392,16 @@ parent_id publish_status page_template - instance_attributes assignee state }} { ::xowiki::update_item_index -item_id [my item_id] -$colName $value } + if {[::xo::dc has_hstore] + && [[my package_id] get_parameter use_hstore 0] + && $colName eq "instance_attributes"} { + ::xowiki::update_item_index -item_id [my item_id] -hstore_attributes [my instance_attributes] + } } ad_proc update_item_index { @@ -1406,7 +1410,6 @@ -parent_id -publish_status -page_template - -instance_attributes -assignee -state -hstore_attributes @@ -1415,13 +1418,13 @@ Helper function to update single or multiple fields of the xowiki_form_instance_item_index. Call this function only when updating fields of the xowiki_form_instance_item_index in cases - where the standard API based on save and save_use canot be used. + where the standard API based on save and save_use can not be used. } { foreach var { package_id parent_id publish_status page_template - instance_attributes assignee state + assignee state } { if {[info exists $var]} { xo::dc dml update_xowiki_form_instance_item_index_$var [subst {