Project

General

Profile

Bug #6634

assessment: open question: no weight factor input when creating an open question

Added by Anonymous about 6 years ago. Updated about 6 years ago.

Status:
Needs more info
Priority:
Normal
Assignee:
-
Start date:
26/08/2013
Due date:
% Done:

0%

Estimated time:
Complexity:
Normal

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

History

#1

Updated by Anonymous about 6 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.

#2

Updated by Anonymous about 6 years ago

This appears to be a general problem: other question types show the same behaviour

#3

Updated by Anonymous about 6 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.

#4

Updated by Anonymous about 6 years ago

  • Status changed from New to Needs more info

Also available in: Atom PDF