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

URL module: URL should be required field

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 2.1.2
    • Resource
    • None
    • MOODLE_21_STABLE
    • MDL-29734-master
    • Hide

      1. On a course, add a new URL

      • Check that the form indicates that 'External URL' is a required field.
        2. Leave the URL blank and click save.
      • Check that you are returned to the form with an error message next to the URL field indicating that you need to complete it.
      Show
      1. On a course, add a new URL Check that the form indicates that 'External URL' is a required field. 2. Leave the URL blank and click save. Check that you are returned to the form with an error message next to the URL field indicating that you need to complete it.

      One of our users brought up this minor problem. The URL module lets you create a 'URL' without a URL. Apart from seeming silly (especially as, by default, the Description field that you normally want to be left blank is a required field), this causes PHP warnings if anyone tries to actually click the non-URL URL.

            stronk7 Eloy Lafuente (stronk7)
            quen Sam Marshall
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:

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