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

Forms API uses non-existent element "link"

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Minor Minor
    • None
    • 4.2.8, 4.1 regressions, 4.3.5, 4.4
    • Forms Library
    • None
    • MOODLE_402_STABLE, MOODLE_403_STABLE, MOODLE_404_STABLE
    • Hide

      Active PHP-Xdebug extension and set "debugdisplay = 1".

      Navigate to Website Administration -> Server -> Manage Tokens and click on "Create Token".

      Expect: the page is displayed without errors.

      Show
      Active PHP-Xdebug extension and set "debugdisplay = 1". Navigate to Website Administration -> Server -> Manage Tokens and click on "Create Token". Expect: the page is displayed without errors.

      The form elements "dateselector" and "datetimeselector" use a non-existent form element "link":

      https://github.com/moodle/moodle/blob/main/lib/form/dateselector.php#L143

      https://github.com/moodle/moodle/blob/main/lib/form/datetimeselector.php#L162

       

      I suppose this should be changed into a "static" form element to display the link.

            Unassigned Unassigned
            melanie.treitinger@ruhr-uni-bochum.de Melanie Treitinger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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