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

Let site plugins register site schemas (DB)

    XMLWordPrintable

    Details

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

      This issue only needs to be tested in 1 device.

      1. Install the choicegroup plugin __ with offline support in a Moodle site. Please notice that the offline support hasn't been integrated right now.
      2. In a course, create a group choice. Make sure to allow editing the response (to make it easier to test).
      3. In the app, login in the site and open the group choice.
      4. Go offline.
      5. Answer the choice. Check that you see a message saying that there's offline data, and the app displays the choice you selected in offline.
      6. Leave the group choice and open it again in offline. Check that you see a message saying that there's offline data, and the app displays the choice you selected in offline.
      7. Go online and synchronize using the top-right menu. Check that the data is sent and the right choice has been selected (you can open it in web with the same user to verify the data has been stored in Moodle).
      Show
      This issue only needs to be tested in 1 device. Install the choicegroup plugin __ with offline support in a Moodle site. Please notice that the offline support hasn't been integrated right now. In a course, create a group choice. Make sure to allow editing the response (to make it easier to test). In the app, login in the site and open the group choice. Go offline. Answer the choice. Check that you see a message saying that there's offline data, and the app displays the choice you selected in offline. Leave the group choice and open it again in offline. Check that you see a message saying that there's offline data, and the app displays the choice you selected in offline. Go online and synchronize using the top-right menu. Check that the data is sent and the right choice has been selected (you can open it in web with the same user to verify the data has been stored in Moodle).
    • Affected Branches:
      MOODLE_38_STABLE
    • Fixed Branches:
      MOODLE_38_STABLE
    • Sprint:
      Moodle App 3.8.1

      Description

      Right now site plugins can call the function to register a site schema. However, the schemas are only applied when the site is loaded/created, and that has already been done when the site plugins code is executed, so the plugin schema is never applied.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                25/Mar/20