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

Linked files cause file not found error in simple single discussion forum description

XMLWordPrintable

    • MOODLE_23_STABLE
    • MOODLE_23_STABLE, MOODLE_24_STABLE
    • w50_MDL-37111_m25_forumsinglefirst
    • Hide

      1/ create single simple forum with linked image in intro text
      2/ verify the first post has the image
      3/ verify the delete button is not present in the first post, but is in reply
      4/ verify the edit button in first post leads to forum edit page instead of post edit
      5/ edit the introduction again and add another linked picture
      6/ verify the forum save updates the first post properly

      note: if you change forum type from single to something else only standard files are copied, the linked files are not supposed to work there, sorry.

      Show
      1/ create single simple forum with linked image in intro text 2/ verify the first post has the image 3/ verify the delete button is not present in the first post, but is in reply 4/ verify the edit button in first post leads to forum edit page instead of post edit 5/ edit the introduction again and add another linked picture 6/ verify the forum save updates the first post properly note: if you change forum type from single to something else only standard files are copied, the linked files are not supposed to work there, sorry.

      When creating a linked file in the forum description of a simple single discussion forum, the link is made unavailable. I believe this is because linked files are not available in Forum posts, and the simple single discussion forum automatically converts the forum description to a post.

      Steps to reproduce:

      1. Create a forum, set the type to "A simple single discussion"
      2. In the description, create a link to a file in the Server Files repository
      3. Click Save and Display
      4. When viewing the forum, click on the hyperlink to the linked file

      Expected result: Link URL = http://preview2.mroomstest.net/pluginfile.php/3686/mod_forum/intro/donaldduck.jpg. File displays with URL
      Actual result: Link URL = http://preview2.mroomstest.net/pluginfile.php/3686/mod_forum/post/426/donaldduck.jpg. Upon clicking, the user receives the following error: "Sorry, the requested file could not be found"

            skodak Petr Skoda
            kstokking Kris Stokking
            Sam Hemelryk Sam Hemelryk
            Ankit Agarwal Ankit Agarwal
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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