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

'Choose a link' for database URL field gives confusing message

    Details

    • Testing Instructions:
      Hide

      Create a database activity with a URL field.

      When you add a database entry there will probably be a "choose a link" button next to the text box. Click it to display the file picker.

      Make a note of all the repositories listed in the file picker.

      Go to the site admin manage repositories page and disable all of those repositories.

      Reload the database add entry page and there should now be no button next to the text field.

      Enabling one or more repositories like the you tube repository should cause the button to reappear.

      Similarly when adding a URL resource the "choose a link" button should appear or disappear depending on whether any URL supplying repositories are enabled.

      Show
      Create a database activity with a URL field. When you add a database entry there will probably be a "choose a link" button next to the text box. Click it to display the file picker. Make a note of all the repositories listed in the file picker. Go to the site admin manage repositories page and disable all of those repositories. Reload the database add entry page and there should now be no button next to the text field. Enabling one or more repositories like the you tube repository should cause the button to reappear. Similarly when adding a URL resource the "choose a link" button should appear or disappear depending on whether any URL supplying repositories are enabled.
    • Affected Branches:
      MOODLE_20_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_24_STABLE, MOODLE_25_STABLE
    • Pull Master Branch:
      MDL-26244_url
    • Story Points (Obsolete):
      8
    • Sprint:
      FRONTEND Sprint 6

      Description

      Going to add/edit a record in the "Modules and plugins" database a user founds a lot of "Choose link" button. The problem is that these buttons are completely useless because the file picker page they call, displays: "Spiacente, nessuno dei repostory disponibili può restituire file esterni." [that in English should sound like: Sorry, none of the available repository may return external files.]
      Please take these buttons off.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Votes:
                3 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  11/Nov/13