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

Javascript error when using random element ids

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 3.7
    • Fix Version/s: None
    • Component/s: 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

              • Assignee:
                marina Marina Glancy
                Reporter:
                marina Marina Glancy
                Participants:
                Component watchers:
                Jake Dallimore, Jun Pataleta
              • 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