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

Course image "non image file" should not be displayed on the left like image file

XMLWordPrintable

    • MOODLE_400_STABLE, MOODLE_401_STABLE, MOODLE_402_STABLE
    • MOODLE_400_STABLE, MOODLE_401_STABLE, MOODLE_402_STABLE
    • MDL-76344-401
    • MDL-76344-master
    • Hide

      Prerequisite

      1. Created two courses (course1 and course2)
      2. In course1 set the course image to an image file

      Testing

      1. Login as admin
      2. Go to Site admin > Appearance > Courses
      3. Add non image file extension in "Course image file extensions", eg pdf then save changes
      4. Go to a course2 > settings then remove any files in "Course image"
      5. Add a pdf file with a really long name in "Course image" then save
      6. Go to home page
      7. Verify that the width of Course1's thumbnail image is the same as Course2's truncated filename.
      8. Verify that Course2's filename is truncated and ended with three dots
      9. Hover the filename ended with three dots
      10. Verify that the full name is displayed
      Show
      Prerequisite Created two courses (course1 and course2) In course1 set the course image to an image file Testing Login as admin Go to Site admin > Appearance > Courses Add non image file extension in "Course image file extensions", eg pdf then save changes Go to a course2 > settings then remove any files in "Course image" Add a pdf file with a really long name in "Course image" then save Go to home page Verify that the width of Course1 's thumbnail image is the same as Course2 's truncated filename. Verify that Course2 's filename is truncated and ended with three dots Hover the filename ended with three dots Verify that the full name is displayed
    • 6
    • Team Hedgehog 2023 Sprint 1.4, Team Hedgehog 2023 Sprint 2.0

      Was discovered while investigating MDLQA-17009

      Steps to reproduce

      1. Login as admin
      2. Go to Site admin > Appearance > Courses
      3. Add non image file extension in "Course image file extensions", eg pdf then save changes
      4. Go to a created course > settings then remove any files in "Course image"
      5. Add a pdf file with a really long name in "Course image" then save
      6. Go to home page
      7. Verify that the UI for "Available courses" is not looking good like the attached screenshot

        1. truncatedfilename.png
          truncatedfilename.png
          270 kB
        2. testing.png
          testing.png
          93 kB
        3. Screen Shot 2022-11-17 at 10.36.15 AM.png
          Screen Shot 2022-11-17 at 10.36.15 AM.png
          91 kB
        4. Screen Recording 2023-04-26 at 2.48.31 pm.mov
          991 kB
        5. Screen Recording 2023-04-26 at 1.07.33 pm.mov
          638 kB
        6. MDL-76344.png
          MDL-76344.png
          401 kB
        7. fixedwidth_with_BS_text-break_class.png
          fixedwidth_with_BS_text-break_class.png
          313 kB
        8. clipping.mov
          5.67 MB

            stevani.andolo@moodle.com Stevani Andolo
            stevani.andolo@moodle.com Stevani Andolo
            David Woloszyn David Woloszyn
            Jun Pataleta Jun Pataleta
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 7 hours, 15 minutes
                1d 7h 15m

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