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

Lesson revise behaviour when incorrect input is added

    XMLWordPrintable

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 4.2
    • None
    • Lesson
    • MOODLE_402_STABLE

    Description

      Hi,

      While testing MOBILE-3535 I saw that when a user introduce a text (or a number with the "wrong" decimal type according to user's language (, instead of .)) on a numerical question of a lesson, the lesson shows the user the following message: 'One or more questions have no answer given. Please go back and submit an answer.'.
      If instead the user submit an empty reply, the messages changes to 'That's the wrong answer'.

      I find the behaviour contradictory. The One or more questions have no answer given is indicated on the case of the input is wrong but not when it is empty.

      (If this is because there are other cases I am not taking into consideration maybe the UX writing could be improved to add 'One or more questions have no answer given or the format used is not the correct one. Please go back and submit an answer.' although I would still find strange the no answer given vs the actual empty reply.)

      Adding a backup for a lesson with a numerical question from a 4.1 Moodle site, tried on a 4.2beta (Build: 20230414) Moodle site and the same behaviour is happening.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              isabelrenedo Isabel Renedo Rouco
              Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: