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

Back button from activities does not always take you back

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      This issue should be tested both in Android and iOS.

      1. In web as admin/teacher, add some links to:
        1. Activities (the ones you want, in the same site). Add the links wherever you want.
        2. Dashboard: /my/. Add it wherever you want as long as you can access it through the dashboard (e.g. in a course).
        3. Site blog: /blog/index.php/. Add it wherever you want as long as it's not inside a blog entry.
        4. Course participants: /user/index.php?id=COURSEID. Add one link in a course page (label or section description) and another one inside an activity (e.g. a book).
      2. In the app, login as any user that can access the links.
      3. Click the links to activities. Check that the activities are opened in a new page. Check that clicking back goes back to where you were.
      4. Click the link to dashboard. Check that you see a confirm saying that you'll go back to the dashboard.
      5. Cancel the confirm. Check that you stay where you are.
      6. Click the link to dashboard again and now confirm. Check that you're sent back to dashboard.
      7. Click the link to site blog. If the site blog tab is displayed in main menu (tablet), check that the tab is selected. If the site blog tab isn't displayed in main menu, check that it's opened in a new page.
      8. Click the link to course participants from the course page. Check that the participants tab is selected.
      9. Click the link to course participants from the activity. Check that the participants are opened in a new page.
      Show
      This issue should be tested both in Android and iOS. In web as admin/teacher, add some links to: Activities (the ones you want, in the same site). Add the links wherever you want. Dashboard: /my/. Add it wherever you want as long as you can access it through the dashboard (e.g. in a course). Site blog: /blog/index.php/. Add it wherever you want as long as it's not inside a blog entry. Course participants: /user/index.php?id=COURSEID. Add one link in a course page (label or section description) and another one inside an activity (e.g. a book). In the app, login as any user that can access the links. Click the links to activities. Check that the activities are opened in a new page. Check that clicking back goes back to where you were. Click the link to dashboard. Check that you see a confirm saying that you'll go back to the dashboard. Cancel the confirm. Check that you stay where you are. Click the link to dashboard again and now confirm. Check that you're sent back to dashboard. Click the link to site blog. If the site blog tab is displayed in main menu (tablet), check that the tab is selected. If the site blog tab isn't displayed in main menu, check that it's opened in a new page. Click the link to course participants from the course page. Check that the participants tab is selected. Click the link to course participants from the activity. Check that the participants are opened in a new page.
    • Affected Branches:
      MOODLE_37_STABLE
    • Fixed Branches:
      MOODLE_37_STABLE
    • Pull Master Branch:
      MOBILE-2735_integration
    • Sprint:
      Moodle App 3.7.1

      Description

      When you are on an activity and you click the "Back" button, you are always taken back to the course page that the activity belongs to.  However, there are some situations where this is not "Back", which is being reported as an issue in our user testing.

      The two examples are a bit different:

      1. We have a CoreCourseOptionsDelegate handler which displays a tab containing some core-course-module components.  If you click the tab, then click on the activity, then click back, you are on the main course page, not on the tab.  This is not consistent with the way links on other tabs work, e.g. if you click to a user's profile from the Participants tab, then click back, you will be on the Participants tab.
      2. Some users have manually created links to activities on other courses, for example in the text of a label.  Clicking that link then clicking back puts you on the second course's page, not on the course were on before you clicked the link.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  30/Aug/19