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

Trailing spaces in URL form fields cause "You must supply a value here" error


    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 3.9.6
    • Forms Library

      Steps to reproduce

      1. Login as admin.
      2. Go to "Site administration > Badges > Manage backpacks".
      3. Fill in:
      4. Save changes


      Expected behaviour

      URL is trimmed and the backpack is created.


      Current behaviour

      The following error is displayed: "You must supply a value here."


      This is not happening only in this form. Any other form with PARAM_URL will face the same issue (for instance, Site administration > Server > OAuth 2 services).

      This also happens for leading spaces.

            Unassigned Unassigned
            sarjona Sara Arjona (@sarjona)
            0 Vote for this issue
            1 Start watching this issue


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