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

course/resources.php does not display images embedded in intro field correctly

    XMLWordPrintable

Details

    Description

      Steps to reproduce

      1. Create an instance of a resource-like module, other than the mod_resource (File) itself. Any module declaring FEATURE_MOD_ARCHETYPE as MOD_ARCHETYPE_RESOURCE, such as the Book module, is affected (all but Label which is excluded from the overview page).
      2. Embed an image into the Description (intro) field of the module.
      3. Add the Activities block to the course
      4. Click the Resources item in the block to get to the page course/resources.php for that course.

      Expected behaviour

      The image is displayed in the desciption

      Actual behaviour

      The image source URL is broken, being hard-coded to be owned by the mod_resource plugin.

      Attachments

        Activity

          People

            mudrd8mz David Mudrák (@mudrd8mz)
            mudrd8mz David Mudrák (@mudrd8mz)
            Ankit Agarwal Ankit Agarwal
            Dan Poltawski Dan Poltawski
            Simey Lameze Simey Lameze
            David Jones, Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie, Amaia Anabitarte, Bas Brands, Carlos Escobedo, Laurent David, Sabina Abellan, Sara Arjona (@sarjona), Ilya Tregubov, Kevin Percy, Mathew May, Mihail Geshoski, Shamim Rezaie
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              6/Jul/15