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

Send the block ID to tool_mobile_get_content

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.9.2
    • Fix Version/s: 3.9.3
    • Component/s: Site add-ons
    • Labels:
    • Testing Instructions:
      Hide

      This issue only needs to be tested in 1 device.

      1. Install the attached plugin in a Moodle site. Please notice that I didn't increase the version number, so I'm not sure if the admin pane will allow installing it if it's already installed.
      2. Add the block to the default dashboard (Site Administration> Appearance > Default Dashboard page).
      3. Reset the dashboard for all users.
      4. In the app, login as a student.
      5. In the dashboard, check that you see the stupid block.
      6. Check that it displays the following info above of the chart:
        1. Context level: user.
        2. Context instance ID: X (a number)
        3. Block ID: Y (a number)
      Show
      This issue only needs to be tested in 1 device. Install the attached plugin in a Moodle site. Please notice that I didn't increase the version number, so I'm not sure if the admin pane will allow installing it if it's already installed. Add the block to the default dashboard (Site Administration> Appearance > Default Dashboard page). Reset the dashboard for all users. In the app, login as a student. In the dashboard, check that you see the stupid block. Check that it displays the following info above of the chart: Context level: user. Context instance ID: X (a number) Block ID: Y (a number)
    • Affected Branches:
      MOODLE_39_STABLE
    • Fixed Branches:
      MOODLE_39_STABLE
    • Pull Master Branch:
    • Sprint:
      Moodle App 3.9.3

      Description

      When adapting blocks to the app, the app sends the contextlevel and instanceid where a block is added to tool_mobile_get_content, but not the ID of the block itself. We should send it too.

      Reported in the forum:

      https://moodle.org/mod/forum/discuss.php?d=413244

        Attachments

          Activity

            People

            Assignee:
            dpalou Dani Palou
            Reporter:
            dpalou Dani Palou
            Peer reviewer:
            Pau Ferrer Pau Ferrer
            Integrator:
            Juan Leyva Juan Leyva
            Tester:
            Noel De Martin Noel De Martin
            Participants:
            Component watchers:
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              30/Nov/20