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

App is restarted when a site policy is added in a site with adapted plugins

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.5.2
    • Fix Version/s: 3.6.0
    • Component/s: Others
    • Labels:
    • Testing Instructions:
      Hide

      Test only on one device of your choice.

      1. In web, login in a 3.6 site as admin. Make sure the site doesn't have a site policy.
      2. install a plugin that is adapted to the mobile app (e.g. group choice). 
      3. In the app, login with a user in that site.
      4. In web as admin, go to Site administration > Users > Privacy and policies > Policy settings and add a Site Policy.
      5. Back in the app, perform a PTR in the dashboard. Check that you are redirected to a page where you can accept the site policy and the app isn't restarted. Check that you see the "Site policy not accepted" error once.
      Show
      Test only on one device of your choice. In web, login in a 3.6 site as admin. Make sure the site doesn't have a site policy. install a plugin that is adapted to the mobile app (e.g. group choice ).  In the app, login with a user in that site. In web as admin, go to  Site administration > Users > Privacy and policies > Policy settings and add a Site Policy. Back in the app, perform a PTR in the dashboard. Check that you are redirected to a page where you can accept the site policy and the app isn't restarted. Check that you see the "Site policy not accepted" error once.
    • Affected Branches:
      MOODLE_35_STABLE
    • Fixed Branches:
      MOODLE_36_STABLE
    • Sprint:
      Moodle Mobile 3.6.0

      Description

      How to reproduce:

      1. In web as admin, install a plugin that is adapted to the mobile app. Make sure the site doesn't have a site policy.
      2. In the app, login with a user in that site.
      3. In web as admin, go to Site administration > Users > Privacy and policies > Policy settings and add a Site Policy.
      4. Back in the app, perform a PTR in the dashboard. The app is restarted.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                11/Jan/19