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

[formslib] Handling invalid date input in quiz respond incorrectly

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 1.8, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.8.5, 1.8.6, 1.8.7, 1.8.8, 1.8.9, 1.9, 1.9.1, 1.9.2, 1.9.3, 1.9.4, 1.9.5
    • Fix Version/s: None
    • Component/s: Course, Forms Library, Quiz
    • Labels:
      None
    • Database:
      Any
    • Affected Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE

      Description

      This seems to be related to formslib, see detailed discussion at here:
      http://moodle.org/mod/forum/discuss.php?d=69707

      Basically if you enter the dates wrong, Moodle 1.8+ will just take it and convert it into some other dates without give the user any warning. Tim suggested that maybe some sort of javascript date selector widget from YUI (http://developer.yahoo.com/yui/calendar/) probably could fix it but not sure whether the codes would be really accessible. If someone could help fixing this that would be great, thanks!

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jamiesensei Jamie Pratt
                Reporter:
                chuang Wen Hao Chuang
                Tester:
                Nobody
                Participants:
                Component watchers:
                Amaia Anabitarte, Bas Brands, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón, Jake Dallimore, Jun Pataleta, Ryan Wyllie, Tim Hunt, Andrew Nicols, Mathew May, Michael Hawkins, Shamim Rezaie, Simey Lameze
              • Votes:
                1 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: