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

Icon differences in Moodle 3.11 mod/url

    XMLWordPrintable

Details

    • MOODLE_311_STABLE, MOODLE_400_STABLE
    • MOODLE_311_STABLE, MOODLE_400_STABLE
    • MDL74387_MOODLE_311_STABLE
    • MDL74387_MOODLE_400_STABLE
    • MDL74387_master
    • Hide
      1. Login as teacher
      2. Add URL activity
      3. Give a name to the URL activity and in the External URL field, give a non-php URL link (e.g: https://moodle.org)
      4. Click 'Save and return to course' and check the icon of the URL activity in the course home page. 
      5. Add another URL activity to the course.
      6. Give a name to the URL activity and in the External URL field, give a URL containing .php  (e.g: https://moodle.org/mod/forum/view.php?id=41
      7. Click 'Save and return to course' and check the icon of the URL activity in the course home page. The URL activity should have the same icon as (4) after the fix has been implemented
      Show
      Login as teacher Add URL activity Give a name to the URL activity and in the External URL field, give a non-php URL link (e.g: https://moodle.org ) Click 'Save and return to course' and check the icon of the URL activity in the course home page.  Add another URL activity to the course. Give a name to the URL activity and in the External URL field, give a URL containing .php  (e.g: https://moodle.org/mod/forum/view.php?id=41 )  Click 'Save and return to course' and check the icon of the URL activity in the course home page. The URL activity should have the same icon as (4) after the fix has been implemented

    Description

      Different icons are displayed on the course page when adding a mod_url instance:

      When one adds a 'normal' URL, such as , the regular activity icon ( ) is displayed as expected, but when the URL contains parameters through & or ?, the activity icon changes to for no apparent reason.

      This is unexpected behaviour that hasn't been described in the Moodle Docs and is therefore difficult to clarify.

      Is this a bug, a feature, a service to users or something else?

      Attachments

        Issue Links

          Activity

            People

              A_Deb Amrita Deb Dutta
              jwelshoff Joost Elshoff
              Mathew May Mathew May
              Jun Pataleta Jun Pataleta
              John Edward Pedregosa John Edward Pedregosa
              Adrian Greeve, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
              Votes:
              2 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                11/Jul/22

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 hours, 45 minutes
                  2h 45m