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

Javascript error when using random element ids

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • 3.7
    • None
    • Forms Library

    Description

      Getting a JS error about calling getElementID on non-existing element during client-side validation.

      This only happens when using random ids so basically does not affect anybody except for workplace. I have a patch but I'm going to test all possible situations and maybe add a behat text with a fixture file.

      Attachments

        Issue Links

          Activity

            People

              marina Marina Glancy
              marina Marina Glancy
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 minute
                  1m