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

Let site plugins register site schemas (DB)

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.8.0
    • 3.8.1
    • Site add-ons
    • 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).
    • MOODLE_38_STABLE
    • MOODLE_38_STABLE
    • 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

              dpalou Dani Palou
              dpalou Dani Palou
              Noel De Martin Noel De Martin
              Juan Leyva Juan Leyva
              Isabel Renedo Rouco Isabel Renedo Rouco
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                25/Mar/20