Index: openacs-4/packages/xowf/lib/online-exam.wf =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowf/lib/online-exam.wf,v diff -u -N -r1.6.2.1 -r1.6.2.2 --- openacs-4/packages/xowf/lib/online-exam.wf 10 Mar 2019 21:55:22 -0000 1.6.2.1 +++ openacs-4/packages/xowf/lib/online-exam.wf 21 May 2019 14:22:13 -0000 1.6.2.2 @@ -349,9 +349,15 @@ # get_question: load and initialize the interaction forms # $ctx proc get_questions {} { - set questionNames [join [my property question] |] + set questions [lmap ref [my property question] { + if {![string match "*/*" $ref]} { + set ref [[${:object} parent_id] name]/$ref + } + set ref + }] + set questionNames [join $questions |] set questionForms [::xowiki::Weblog instantiate_forms \ - -parent_id [${:object} parent_id] -package_id [${:object} package_id] \ + -package_id [${:object} package_id] \ -default_lang [${:object} lang] \ -forms $questionNames] if {[llength $questionForms] < 1} {error "unknown form $questionNames"}