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

Site plugins: PreSets are not updated when using a directive with samePage=true

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.8.1
    • 3.8.0
    • Site add-ons
    • Hide

      This issue only needs to be tested in 1 device.

      1. Install the plugin attached to this issue in a Moodle site, in the "local" folder.
      2. In the app, login in the site.
      3. Go to the "More" menu. Check you see an option called "Test MOBILE-3340".
      4. Click the "Test MOBILE-3340" option. Check you see a page with two buttons.
      5. Click the option "This page will be cached!". Check that the content changes to "This page will be cached!".
      6. Go back and click "Test MOBILE-3340".
      7. Now click "This page won't be cached!". Check that the content changes to "This page won't be cached!".
      8. Go back and go offline.
      9. Click "Test MOBILE-3340". Check that the page with 2 buttons loads fine.
      10. Click the option "This page will be cached!". Check that the content changes to "This page will be cached!".
      11. Go back and click "Test MOBILE-3340" again.
      12. Now click "This page won't be cached!". Check that you see an error saying you are offline.
      Show
      This issue only needs to be tested in 1 device. Install the plugin attached to this issue in a Moodle site, in the "local" folder. In the app, login in the site. Go to the "More" menu. Check you see an option called "Test MOBILE-3340 ". Click the "Test MOBILE-3340 " option. Check you see a page with two buttons. Click the option "This page will be cached!". Check that the content changes to "This page will be cached!". Go back and click "Test MOBILE-3340 ". Now click "This page won't be cached!". Check that the content changes to "This page won't be cached!". Go back and go offline. Click "Test MOBILE-3340 ". Check that the page with 2 buttons loads fine. Click the option "This page will be cached!". Check that the content changes to "This page will be cached!". Go back and click "Test MOBILE-3340 " again. Now click "This page won't be cached!". Check that you see an error saying you are offline.
    • MOODLE_38_STABLE
    • MOODLE_38_STABLE
    • Moodle App 3.8.1

      core-site-plugins-new-content and core-site-plugins-call-ws-new-content accept an input called "samePage" to load the new content in the same page. In this case we update the component, method, jsData and args, but not the preSets.

            dpalou Dani Palou
            dpalou Dani Palou
            Pau Ferrer Pau Ferrer
            Juan Leyva Juan Leyva
            Isabel Renedo Rouco Isabel Renedo Rouco
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.