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

Links to modules inside site home or course with guest access don't work

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Moodle setup

      1. Create a course with guest access.
      2. Add a link to this course somewhere (e.g. in a section description).
      3. Create at least 1 supported activity in the front page (site home).
      4. Add a link to frontpage (course/view.php?id=1) and to the activity in it somewhere (e.g. in a section description).

      Testing

      1. Login in the app as a student and go to course search.
      2. Search the course with guest access and go to its course contents. Check that you can see the contents.
      3. Now go to the place where you added the link to the course and click it. Check that you are redirected to the course contents and you can see them.
      4. Now click in the links to front page and to the activity in it. Check that both things are successfully opened.
      Show
      Moodle setup Create a course with guest access. Add a link to this course somewhere (e.g. in a section description). Create at least 1 supported activity in the front page (site home). Add a link to frontpage (course/view.php?id=1) and to the activity in it somewhere (e.g. in a section description). Testing Login in the app as a student and go to course search. Search the course with guest access and go to its course contents. Check that you can see the contents. Now go to the place where you added the link to the course and click it. Check that you are redirected to the course contents and you can see them. Now click in the links to front page and to the activity in it. Check that both things are successfully opened.
    • Affected Branches:
      MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_31_STABLE
    • Sprint:
      Moodle Mobile 3.1.2

      Description

      In the sections controller we call getUserCourse to get the name of the course. This will fail for Site Home and courses with guest access.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              27/Jul/16