Note: You are currently viewing documentation for Moodle 2.9. Up-to-date documentation for the latest stable version of Moodle may be available here: Calculated question bugs and new features proposal.

Development:Calculated question bugs and new features proposal

From MoodleDocs

This page will be used as a TODO-List in relation to the bug tracker tasks

Main objectives

The actual plan is to

  1. Correct the minor problems of the new 1.8 interface and add some features

Improvement of the user interface

  1. Correct the minor problems of the new 1.8 interface and add some features
    1. Removing the side effects when typing the enter key in dataitems_form.php input fields
    2. Verify that there is at least one wild card in either the question or the answer text.
    3. adding a table showing the shareable category wild cards available in the first page of question creation or edition
    4. identifying more clearly which of the wild cards has an already defined shareable category wild cards available

Adding new class functions or make substantial change to existing one

  1. adding a table display function showing the shareable category wild cards available in the first page of question creation or edition
    1. a general function for the abstractype class (showing only the name and nb of items)
    2. a specific function for the calculatedquestion class showing the definition (min:max:type) in a user readable format.

Improvement to import-export process and question category moving

  1. There is no way to import calculated questions in Moodle actually.

The steps to correct this are:

    1. Adding an importdatadef() function and import dataitem function() to calculated questiontype class
    2. adding a preliminary verifyimporteddata() function to calculated questiontype class
    3. modify the savequestion() and saveoptions() function to accept import data.
    4. ...


(to be continued)Pierre Pichet 2 February 2007