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

Non-monologo icons are not supported on Calendar day page and in event popovers

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 4.1.6, 4.2.3
    • 4.2
    • Calendar
    • MOODLE_402_STABLE
    • MOODLE_401_STABLE, MOODLE_402_STABLE
    • MDL-77891-401
    • MDL-77891-master
    • Hide
      1. Create a new course tool (More > LTI External tools, you can just set the tool URL to http://example.com and set a name for this test)
        • Set a tool Icon URL to something (a picture on google, whatever)
      2. Create a new external tool instance by creating an activity and selecting the tool from the activity chooser
      3. Set "Expect completed on" to today's date
      4. Create an assignment as well
      5. Set the assignment's due date to today's date
      6. Go to the calendar
      7. Change to "Day" view
      8. Verify the icon in the event header is NOT a puzzle piece, but instead it's the icon you set when creating the tool. E.g. looks something like this:
      9. Verify the assignment icon is shown as a black icon and is the standard icon for assignment (the arrow pointing toward the page)
      10. Edit the URL, setting view=mini (instead of view=day)
      11. Mouse over the current day
      12. Verify you see both events as before and that both event icons are as before: LTI is a picture, assign is the standard, black icon
      13. Go to the course home
      14. Add the calendar block to the course
      15. In the block, mouse over the current day
      16. Verify you see both events as before and that both event icons are as before: LTI is a picture, assign is the standard, black icon
      Show
      Create a new course tool (More > LTI External tools, you can just set the tool URL to http://example.com and set a name for this test) Set a tool Icon URL to something (a picture on google, whatever) Create a new external tool instance by creating an activity and selecting the tool from the activity chooser Set "Expect completed on" to today's date Create an assignment as well Set the assignment's due date to today's date Go to the calendar Change to "Day" view Verify the icon in the event header is NOT a puzzle piece, but instead it's the icon you set when creating the tool. E.g. looks something like this: Verify the assignment icon is shown as a black icon and is the standard icon for assignment (the arrow pointing toward the page) Edit the URL, setting view=mini (instead of view=day) Mouse over the current day Verify you see both events as before and that both event icons are as before: LTI is a picture, assign is the standard, black icon Go to the course home Add the calendar block to the course In the block, mouse over the current day Verify you see both events as before and that both event icons are as before: LTI is a picture, assign is the standard, black icon

      Hi,

      Non-monologo icons are not supported on 'Calendar day page', they display the monologo icon (in the example case of the external tool, that's the puzzle piece icon)

      When on the content of the course it is displayed the correct one:

      I added a backup for three External tool LTI with different icons (one of them has the standard one) from a Moodle 4.2dev+ (Build: 20230406) in case it helps to reproduce it

      Thanks for your time,
      Isabel

      PD Take into account that on the backup page it is also display the fallback icon (the puzzle piece icon) so it might happen in other pages. (If the backup page can be improved perfect but the calendar seems quite more important especially for students)

            jaked Jake Dallimore
            isabelrenedo Isabel Renedo Rouco
            Paul Holden Paul Holden
            Jun Pataleta Jun Pataleta
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

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

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