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

Remote addons cannot register stores

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2
    • Fix Version/s: 3.2.1
    • Component/s: Remote addons
    • Labels:
    • Testing Instructions:
      Hide
      1. In a Moodle site, install the plugin attached to this issue (in the mod folder).
      2. Create an instance of this forum (Advanced Forum) in a course. Create a discussion in that forum.
      3. In the app, go to that course and open the forum. Check that you see the list of discussions and there is no error in console.
      Show
      In a Moodle site, install the plugin attached to this issue (in the mod folder). Create an instance of this forum (Advanced Forum) in a course. Create a discussion in that forum. In the app, go to that course and open the forum. Check that you see the list of discussions and there is no error in console.
    • Affected Branches:
      MOODLE_32_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE
    • Sprint:
      Moodle Mobile 3.2.1

      Description

      When a remote addon is executed, the app databases are already initialized. This means that the stores they register will never be applied to the database.

      We think the best way to solve this is to create a function to refresh the databases. Remote addons should call that function in a .run.

        Attachments

          Activity

            People

            Assignee:
            dpalou Dani Palou
            Reporter:
            dpalou Dani Palou
            Peer reviewer:
            Pau Ferrer
            Integrator:
            Juan Leyva
            Tester:
            Berta Maroto
            Participants:
            Component watchers:
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              28/Feb/17