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

            • Assignee:
              mudrd8mz David Mudrák (@mudrd8mz)
              Reporter:
              mudrd8mz David Mudrák (@mudrd8mz)
              Peer reviewer:
              Ankit Agarwal
              Integrator:
              Dan Poltawski
              Tester:
              Simey Lameze
              Participants:
              Component watchers:
              David Jones, Adrian Greeve, Mihail Geshoski, Peter Dias, Amaia Anabitarte, Bas Brands, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón, Adrian Greeve, Mihail Geshoski, Peter Dias
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                6/Jul/15