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

Description for File resource not displayed if it only contains an image

    XMLWordPrintable

Details

    • MOODLE_311_STABLE, MOODLE_400_STABLE
    • MOODLE_311_STABLE, MOODLE_400_STABLE
    • Hide
      1. Log in as admin
      2. Create a course
      3. Add a File resource
      4. In the Description field press Insert or edit image to upload an image
      5. Upload a file to Select files
      6. Press Save and display
      7. Confirm the image uploaded to the Description field is shown when viewing the resource
      Show
      Log in as admin Create a course Add a File resource In the Description field press Insert or edit image to upload an image Upload a file to Select files Press Save and display Confirm the image uploaded to the Description field is shown when viewing the resource

    Description

      To recreate:

      • As a teacher, add a File resource to your course
      • Add a title in Name field, then enter some text and an image to the description field via atto editor
      • Select the File resource
      • Click save and display - the description is displayed to user as expected
      • Edit the description to remove the text so there is only an image in the description field
      • Click Save and Display

      Expectation: the description (i.e. image) is displayed on the resource page
      Result: The description is not displayed to the user

      Recreated in Moodle demo site

      Attachments

        1. MDL-74790_v400.png
          MDL-74790_v400.png
          115 kB
        2. MDL-74790_v311.png
          MDL-74790_v311.png
          127 kB
        3. MDL-74790_master.png
          MDL-74790_master.png
          115 kB

        Issue Links

          Activity

            People

              pholden Paul Holden
              camartin Catherine Martin
              Sujith Haridasan Sujith Haridasan
              Mihail Geshoski Mihail Geshoski
              Angelia Dela Cruz Angelia Dela Cruz
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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

                  Clockify

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