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

invalid HTML because of duplicate element IDs

XMLWordPrintable

    • 1
    • Team Dragons 2025 Sprint 1.4

      The changes introduced in the commit "MDL-61823 forms: ensure grouped elements have ID attribute." result in invalid HTML, as multiple elements end up sharing the same element ID.

      To reproduce the issue, create a course and visit the settings page. There, the id `fgroup_id_buttonar` appears twice.

      The issue occurs wherever the `element-group` template is used, such as on the question edit page of the "Multiple choice" question type.

        1. MDL-85139.png
          581 kB
          Ron Carl Alfon Yu

            jpataleta Jun Pataleta
            britz Jan Britz
            Shamim Rezaie Shamim Rezaie
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            2 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

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

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.