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

Send the block ID to tool_mobile_get_content

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.9.2
    • 3.9.3
    • Site add-ons
    • 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)
    • MOODLE_39_STABLE
    • MOODLE_39_STABLE
    • 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

            dpalou Dani Palou
            dpalou Dani Palou
            Pau Ferrer Pau Ferrer
            Juan Leyva Juan Leyva
            Noel De Martin Noel De Martin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              30/Nov/20