Moodle
  1. Moodle
  2. MDL-11864

Display dataset variables and equations in feedback

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.8, 2.7.2
    • Fix Version/s: 2.0.10
    • Component/s: Questions
    • Labels:
    • Affected Branches:
      MOODLE_18_STABLE, MOODLE_27_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      Allow the use of the data items already defined in the question text or in the answers equation and the maths functions in the answer feedback.
      see http://moodle.org/mod/forum/discuss.php?d=82849

        Gliffy Diagrams

          Issue Links

            Activity

            Hide
            Matt Jenner added a comment -

            I guess this may only be important to those who want it (as with any bug!) but it gets my vote!

            Show
            Matt Jenner added a comment - I guess this may only be important to those who want it (as with any bug!) but it gets my vote!
            Hide
            Pierre Pichet added a comment -

            Thanks to remember me this .
            It was somewhere on my todo list for next fall season.

            Show
            Pierre Pichet added a comment - Thanks to remember me this . It was somewhere on my todo list for next fall season.
            Hide
            Michael de Raadt added a comment -

            Thanks for reporting this issue.

            We have detected that this issue has been inactive for over a year. It was reported as affecting versions that are no longer supported.

            If you believe that this issue is still relevant to current versions (2.5 and beyond), please comment on the issue. Issues left inactive for a further month will be closed.

            Michael d.

            TW9vZGxlDQo=

            Show
            Michael de Raadt added a comment - Thanks for reporting this issue. We have detected that this issue has been inactive for over a year. It was reported as affecting versions that are no longer supported. If you believe that this issue is still relevant to current versions (2.5 and beyond), please comment on the issue. Issues left inactive for a further month will be closed. Michael d. TW9vZGxlDQo=
            Hide
            Pierre Pichet added a comment -

            This remains a thing to do, so we keep it alive

            Show
            Pierre Pichet added a comment - This remains a thing to do, so we keep it alive
            Hide
            Pierre Pichet added a comment -

            Tim,
            Given the "excellent" work done last summer i.e. MDL-46148 qtype_calculated: validate formulas everywhere,
            I am working to implement this and hint before going to MDL-37744 Datasetitems_form.php interface reworking.

            Show
            Pierre Pichet added a comment - Tim, Given the "excellent" work done last summer i.e. MDL-46148 qtype_calculated: validate formulas everywhere, I am working to implement this and hint before going to MDL-37744 Datasetitems_form.php interface reworking.
            Hide
            Pierre Pichet added a comment -

            as additional item (without creating an additional issue see MDL-18168) remove these strings

            C:\wamp\www\moodle\question\type\calculated\lang\en\qtype_calculated.php(78): $string['keptcategory2'] = 'a file from the same category reusable set of files as before';
            C:\wamp\www\moodle\question\type\calculated\lang\en\qtype_calculated.php(79): $string['keptcategory3'] = 'a link from the same category reusable set of links as before';

            Show
            Pierre Pichet added a comment - as additional item (without creating an additional issue see MDL-18168 ) remove these strings C:\wamp\www\moodle\question\type\calculated\lang\en\qtype_calculated.php(78): $string ['keptcategory2'] = 'a file from the same category reusable set of files as before'; C:\wamp\www\moodle\question\type\calculated\lang\en\qtype_calculated.php(79): $string ['keptcategory3'] = 'a link from the same category reusable set of links as before';
            Hide
            Pierre Pichet added a comment -

            Tim,
            I am working to apply the functions calculate_all_expressions()
            that you added this summer for questiontext, answer, feedback to hints and the various feedback of calculated multi.

            And your code is doing a good job.

            However these fields need to be verified ( i.e. the

            {=...}

            should not give errors..
            This means that I will need to modify the datasetitems_form.

            So I will probably use the multicommits to clarify everything.

            Show
            Pierre Pichet added a comment - Tim, I am working to apply the functions calculate_all_expressions() that you added this summer for questiontext, answer, feedback to hints and the various feedback of calculated multi. And your code is doing a good job. However these fields need to be verified ( i.e. the {=...} should not give errors.. This means that I will need to modify the datasetitems_form. So I will probably use the multicommits to clarify everything.

              People

              • Votes:
                4 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: