Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-3519

Forum: When following a link in app to a discussion, file attachments don't work

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Tested
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.8.2
    • Fix Version/s: None
    • Component/s: Forum add-on
    • Labels:
    • Testing Instructions:
      Hide

      Test on any device of your choice.

      Check Old Moodle versions (3.9 or earlier)

      1. Enter into a forum and do a general test: check reply and write a new post.
      2. Directly navigate into a discussion, using a link like: /mod/forum/discuss.php?d=X. You can use Links to capture section one.
      3. Check you can see the discussion, but you cannot star the discussion or add attachments (the whole section is hidden) on replies.

      Check master Moodle version

      1. Enter into a forum and do a general test: check reply and write a new post.
      2. Directly navigate into a discussion, using a link like: /mod/forum/discuss.php?d=X. You can use Links to capture section one (Activities /mod/*view...) > Forum discussion.
      3. Check you can see discussion.
      4. Check also that opening the contextual menu you can star it.
      5. Check on reply you can attach files
      Show
      Test on any device of your choice. Check Old Moodle versions (3.9 or earlier) Enter into a forum and do a general test: check reply and write a new post. Directly navigate into a discussion, using a link like: /mod/forum/discuss.php?d=X. You can use Links to capture section one. Check you can see the discussion, but you cannot star the discussion or add attachments (the whole section is hidden) on replies. Check master Moodle version Enter into a forum and do a general test: check reply and write a new post. Directly navigate into a discussion, using a link like: /mod/forum/discuss.php?d=X. You can use Links to capture section one (Activities /mod/*view...) > Forum discussion. Check you can see discussion. Check also that opening the contextual menu you can star it. Check on reply you can attach files
    • Affected Branches:
      MOODLE_38_STABLE
    • Pull Master Branch:
    • Sprint:
      Moodle App 3.9.3

      Description

      If you follow a link to a discussion from a block, so of the format site.url/mod/forum/discuss.php?d=xxxxx the app doesn't fetch the forum id, meaning attachments can't be added. The "advanced" section is still present, but is empty.

      For clarification, to get the forum object, discussion.ts needs either the cmid AND the courseid, or the courseid AND the forumid. courseid can be appended to the url, but the link handler can't provide the cmid or the forumid via params, only via the data object, and it's not clear how to provide this with the required info.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              pferre22 Pau Ferrer
              Reporter:
              markwebster Mark Webster
              Peer reviewer:
              Dani Palou
              Integrator:
              Juan Leyva
              Tester:
              Isabel Renedo Rouco
              Participants:
              Component watchers:
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated: