Moodle

Use formslib for question editing forms

Details

  • Type: Sub-task Sub-task
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.8
  • Fix Version/s: 1.8
  • Component/s: Questions
  • Labels:
    None
  • Affected Branches:
    MOODLE_18_STABLE
  • Fixed Branches:
    MOODLE_18_STABLE

Description

This is a change in two parts. First some change question/question.php, so that if can work with question types can either use an old-style question editing form, or a new formslib style form.

Then convert each question type to use the new formslib style form.

(In 1.9, we will remove support for old style editing forms.)

Activity

Hide
Tim Hunt added a comment -

OK, I have done the necessary work in the core questionbank code and I have converted the truefalse question type.

That just leaves the other 14 question types to do.

I doubt that I will have time to work on any more until after 1.8 beta/alpha/whatever on 3rd Jan.

If anyone else want to work on this, please be my guest. If you look at what I have done in truefalse, you should get the idea easily enough.

Show
Tim Hunt added a comment - OK, I have done the necessary work in the core questionbank code and I have converted the truefalse question type. That just leaves the other 14 question types to do. I doubt that I will have time to work on any more until after 1.8 beta/alpha/whatever on 3rd Jan. If anyone else want to work on this, please be my guest. If you look at what I have done in truefalse, you should get the idea easily enough.
Hide
Martin Dougiamas added a comment -

Jamie can you tackle this this week?

Show
Martin Dougiamas added a comment - Jamie can you tackle this this week?
Hide
Jamie Pratt added a comment -

Have done most of the question types.

Still to do :

'calculated' qtype which is a multipage wizard style form.
rqp and randomsamatch qtypes.
'missingtype' qtype

Not sure how to test random qtype since it is not appearing in the question creation menu.

Show
Jamie Pratt added a comment - Have done most of the question types. Still to do : 'calculated' qtype which is a multipage wizard style form. rqp and randomsamatch qtypes. 'missingtype' qtype Not sure how to test random qtype since it is not appearing in the question creation menu.
Hide
Pierre Pichet added a comment -

Do you want me to continue your work on datasetdefinition_form and datasetitem_form as the 1.8 release seems near by and that I understand from one of your email, that complete implementation of calculated questions will be postponed to 1.9?

Show
Pierre Pichet added a comment - Do you want me to continue your work on datasetdefinition_form and datasetitem_form as the 1.8 release seems near by and that I understand from one of your email, that complete implementation of calculated questions will be postponed to 1.9?
Hide
Jamie Pratt added a comment -

have now migrated all question editing forms to formslib.

Show
Jamie Pratt added a comment - have now migrated all question editing forms to formslib.
Hide
Tim Hunt added a comment -

Yay! Thank you very much for doing this. I really would not have had time myself. From watching the CVS commit emails I know what a big job it was.

Show
Tim Hunt added a comment - Yay! Thank you very much for doing this. I really would not have had time myself. From watching the CVS commit emails I know what a big job it was.
Hide
Tim Hunt added a comment -

Closing old bug with me as QA assignee. I know this was sorted out ages ago.

Show
Tim Hunt added a comment - Closing old bug with me as QA assignee. I know this was sorted out ages ago.

People

Vote (0)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: