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

@@PLUGINFILE@@ appears in the HTML body of a forum email notification.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0, 3.0.1, 3.0.2, 3.0.3, 3.1
    • Fix Version/s: 3.0.4
    • Component/s: Forum
    • Labels:
    • Testing Instructions:
      Hide

      (difficulty: easy, requires teacher access to a course in a Moodle instance able to successfully send email notifications)

      1. Log in as a teacher and go to a course with a forum activity with some end users already subscribed to it
      2. Reply to a discussion by using a text+image post: add an image in the post by clicking on the related button in the Editor
      3. Browse the repositories and upload an image file that will be selected and the press Save image
      4. Post the message checking the Mail now checkbox too
      5. Check a subscribed user mailbox: the email will appear apparently without the image BUT if you access the source of the email you'll find a link to that image, e.g. http://www.example.com/moodle/pluginfile.php/MM/mod_forum/post/NNN/filename.ext (NOT @@PLUGINFILE@@/filename.ext): if you'll put that link in a browser tab within the same authenticated Moodle session you'll see the "missing" image
      Show
      (difficulty: easy, requires teacher access to a course in a Moodle instance able to successfully send email notifications) Log in as a teacher and go to a course with a forum activity with some end users already subscribed to it Reply to a discussion by using a text+image post: add an image in the post by clicking on the related button in the Editor Browse the repositories and upload an image file that will be selected and the press Save image Post the message checking the Mail now checkbox too Check a subscribed user mailbox: the email will appear apparently without the image BUT if you access the source of the email you'll find a link to that image, e.g. http://www.example.com/moodle/pluginfile.php/MM/mod_forum/post/NNN/filename.ext (NOT @@PLUGINFILE@@/filename.ext ): if you'll put that link in a browser tab within the same authenticated Moodle session you'll see the "missing" image
    • Affected Branches:
      MOODLE_30_STABLE, MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_30_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      m31_MDL-53622_Fix_Missing_Rewrite_Pluginfile_URLs

      Description

      Read about the details in MDLSITE-4464.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              matteo Matteo Scaramuccia
              Reporter:
              matteo Matteo Scaramuccia
              Peer reviewer:
              Andrew Nicols
              Integrator:
              Dan Poltawski
              Tester:
              Mark Nelson
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                9/May/16