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

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.9.2
    • 3.9.3
    • Forum add-on
    • 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
    • MOODLE_39_STABLE
    • MOODLE_39_STABLE
    • 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

              pferre22 Pau Ferrer
              markwebster Mark Webster
              Dani Palou Dani Palou
              Juan Leyva Juan Leyva
              Isabel Renedo Rouco Isabel Renedo Rouco
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                30/Nov/20