Index: openacs-4/packages/xowf/tcl/xowf-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowf/tcl/xowf-procs.tcl,v diff -u -r1.28.2.78 -r1.28.2.79 --- openacs-4/packages/xowf/tcl/xowf-procs.tcl 12 Aug 2022 16:41:15 -0000 1.28.2.78 +++ openacs-4/packages/xowf/tcl/xowf-procs.tcl 24 Aug 2022 17:45:54 -0000 1.28.2.79 @@ -1429,7 +1429,10 @@ if {![nsf::is object ::${:page_template}]} { ::xo::db::CrClass get_instance_from_db -item_id ${:page_template} } - if {${:state} ne "" && [${:page_template} istype ::xowiki::FormPage]} { + if {${:state} ne "" + && [${:page_template} hasclass ::xowf::WorkflowPage] + && [${:page_template} is_wf] + } { array set :__wfi [${:page_template} instance_attributes] return 1 } Index: openacs-4/packages/xowf/tcl/test/test-item-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowf/tcl/test/test-item-procs.tcl,v diff -u -r1.1.2.31 -r1.1.2.32 --- openacs-4/packages/xowf/tcl/test/test-item-procs.tcl 15 Mar 2022 12:01:53 -0000 1.1.2.31 +++ openacs-4/packages/xowf/tcl/test/test-item-procs.tcl 24 Aug 2022 17:45:54 -0000 1.1.2.32 @@ -24,6 +24,7 @@ "::xo::ConnectionContext instproc eval_as_user" "::xowf::Package instproc destroy" + "::xowf::Package instproc initialize" "::xowf::WorkflowPage instproc childpage" "::xowf::WorkflowPage instproc get_revision_sets" "::xowf::WorkflowPage instproc is_wf"