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 -N -r1.485.2.55 -r1.485.2.56 --- openacs-4/packages/xowiki/tcl/xowiki-procs.tcl 22 Feb 2017 10:03:30 -0000 1.485.2.55 +++ openacs-4/packages/xowiki/tcl/xowiki-procs.tcl 25 Feb 2017 17:01:13 -0000 1.485.2.56 @@ -1327,7 +1327,7 @@ FormPage instproc hstore_attributes {} { # Per default, we save all instance attributes in hstore, but a # subclass/object might have different requirements. - return [my instance_attributes] + return ${:instance_attributes} } # @@ -1350,11 +1350,10 @@ state = :state} if {$useHstore} { - set hkey [::xowiki::hstore::dict_as_hkey $instance_attributes] + set hkey [::xowiki::hstore::dict_as_hkey [my hstore_attributes]] append updateVars ", hkey = '$hkey'" } - set rows [xo::dc dml update_xowiki_form_instance_item_index [subst { update xowiki_form_instance_item_index set $updateVars