Moodle
  1. Moodle
  2. MDL-21813

Moodle should not allow a unit like '1' as it leads to weird behaviour.

    Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.9.7
    • Fix Version/s: None
    • Component/s: Quiz
    • Labels:
      None
    • Environment:
      Linux, Apache PHP wtih Firefox
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_19_STABLE
    • Rank:
      2575

      Description

      I have a local standard installation with the german language pack. No other themes or packages are installed.

      When I add the simple numerical test "7 * 3 =" and enter the result "21" moodle only accepts "2" as the result. I retried this several times but could not enter "21" into the answer field. "31" results in "3", so it looks like the final "1" is removed. After entering "211" the value "21" is accepted.

      The problem is not visible while the test is edited. It has to be saved and reopened.

      Each editing requires the addition of a "1" at the end of each answer ending with "1". This is very annoying.

        Activity

          People

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

            Dates

            • Created:
              Updated: