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

Javascript error when using random element ids

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • 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:
                Unassigned
                Reporter:
                marina Marina Glancy
                Participants:
                Component watchers:
                Jake Dallimore, Jun Pataleta, Ryan Wyllie
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: