Bug #6634
open
assessment: open question: no weight factor input when creating an open question
0%
Description
there is no 'weight' input field (additinoal properties section) when creating an assessment (type: open question) (first screenshot)
The 'weight' is present when editing the same question. (second screenshot)
Files
Updated by Anonymous about 10 years ago
when creating an open question: an AssessmentOpenQuestion object (file repository/content_object/assessment_open_question/php/lib/data_class/content_object.class.php) is used
when updating an open question: a ComplexAssessmentOpenQuestion object (file repository/content_object/assessment_open_question/php/lib/data_class/complex_content_object_item.class.php) is used.
The first contains the weight option (as an additional property name), the second does not.
Updated by Anonymous about 10 years ago
This appears to be a general problem: other question types show the same behaviour
Updated by Anonymous about 10 years ago
even worse:
the problem originates in the run method the file repository/php/lib/complex_builder/component/creator.class.php, which does not fetch the additional properties, whereas the run method in file repository/php/lib/complex_builder/component/updater.class.php does.
Updated by Anonymous about 10 years ago
- Status changed from New to Needs more info