Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-37417 Question editing forms improvements
  3. MDL-36563

Quiz: Don't validate units when unit's aren't used in numerical question type

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.4
    • Fix Version/s: None
    • Component/s: Questions
    • Labels:
    • Affected Branches:
      MOODLE_24_STABLE

      Description

      This applies to both export/import.

      If the unit handling (unitrole) field of a numerical question is set to 'Units are not used at all' then this should be honoured. Currently it's ignored. When importing or exporting questions an error is displayed. asking you to change Unit handling.
      This will confuse lots of folks.

      Can we detect whether the question uses Units and if it doesn't set Unit handling to 'Units are not used at all'?

        Attachments

          Activity

            People

            Assignee:
            colchambers Colin Chambers
            Reporter:
            colchambers Colin Chambers
            Peer reviewer:
            Tim Hunt Tim Hunt
            Participants:
            Component watchers:
            Tim Hunt, Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: