Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-57366

Lesson doesn't save a numerical answer of zero on first attempt.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.3
    • 3.1.4, 3.2.1
    • Lesson
    • MOODLE_33_STABLE
    • MOODLE_31_STABLE, MOODLE_32_STABLE
    • wip-MDL-57366-master
    • Easy
    • Hide
      1. Create a lesson activity.
      2. Add a numerical question.
      3. In the section "Answer 1" - Answer type in '0'
      4. Add some content to the response.
      5. Click "Save page"
      6. Edit the newly created numerical question.
      7. Check that "Answer 1" has an answer of '0' and that the response content is still present.
      Show
      Create a lesson activity. Add a numerical question. In the section "Answer 1" - Answer type in '0' Add some content to the response. Click "Save page" Edit the newly created numerical question. Check that "Answer 1" has an answer of '0' and that the response content is still present.

    Description

      When creating a numerical question in the lesson and giving an answer of '0' the answer will be disregarded and not saved. Going back in and editing the question and giving an answer of '0' will however save.

      Attachments

        Issue Links

          Activity

            People

              abgreeve Adrian Greeve
              abgreeve Adrian Greeve
              Stephen Bourget Stephen Bourget
              Dan Poltawski Dan Poltawski
              Ankit Agarwal Ankit Agarwal
              Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                9/Jan/17