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

User profile: Embedded images in the description are not displayed as teacher

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Minor
    • None
    • 3.5.1, 3.5.2, 3.5.3, 3.6.1, 3.8.4, 3.9.1, 3.10
    • Other
    • MOODLE_310_STABLE, MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_38_STABLE, MOODLE_39_STABLE

    Description

      Replication steps

      You must do the same steps as student and teacher:

      1. Login as student
      2. Edit your profile
      3. Embed images in your user description:
        • direct via URL 
        • upload image (URL contains "draftfile.php")
      4. Show up your profile and copy the link address of the second image (should be "pluginfile.php" now).
      5. Embed third image in your user description using the copied link address of the second image.
      6. Fact is, that the URL of the second file "draftfile".php will be rewritten with the function "file_rewrite_pluginfile_urls".

      After login as manager/admin and enrol the two users in to a course. In demo.moodle.net they're already enrolled.

      Visit after the other profile from each role (student/teacher) and check the description. There are two ways to visit the profile over the course context or direct via the user profile:

      1. Teacher:
      2. Student:

      Expected result

      You should see with both roles the three images of the other user.

      Actual result

      The student see's the teachers full description, but the teacher only see's the image which is embedded direct via an URL.

      Other information

      Reproduced on demo.moodle.net

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              pead Adrian Perez
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 15 minutes
                  15m

                  Clockify

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