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

Moodle App 3.1.2 stil shows orphan activities

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. In a course create a stealth section with one or more orphan activities supported by the app (this is done configuring the course to have, for example, 10 sections, adding activities to the last section, and then reducing the number of sections for the course either by using the small minus at the bottom of the course or through the course settings page), this section is not visible by students but the activities can be accessed via a direct link or the activities block
      2. Create a label resource with direct link to the activities in the stealth section
      3. Open the course with a student account using the Mobile app and check that you don't see the stealth section (check that in the Moodle web version you don't see it either)
      4. You shouldn't see the section neither in the list of sections not in the "Show all" section
      5. Go to the label and check that doing click in the links you can access to the orphan activities
      Show
      In a course create a stealth section with one or more orphan activities supported by the app (this is done configuring the course to have, for example, 10 sections, adding activities to the last section, and then reducing the number of sections for the course either by using the small minus at the bottom of the course or through the course settings page), this section is not visible by students but the activities can be accessed via a direct link or the activities block Create a label resource with direct link to the activities in the stealth section Open the course with a student account using the Mobile app and check that you don't see the stealth section (check that in the Moodle web version you don't see it either) You shouldn't see the section neither in the list of sections not in the "Show all" section Go to the label and check that doing click in the links you can access to the orphan activities
    • Affected Branches:
      MOODLE_31_STABLE
    • Fixed Branches:
      MOODLE_32_STABLE
    • Sprint:
      Moodle Mobile 3.2

      Description

      Although hidden on the moodle site, the Moodle mobile app still shows orphan activities that should be hidden from the student role.

      These section should be hidden as it may contain sensitive information that teachers may wish to hide from students.

      Possibly the same logic ( or the opposite of it ) could be applied to the web service function as used here :

      https://github.com/moodle/moodle/blob/0344082208b83a41c6d34d6d2a0b8918fdb253a6/course/format/renderer.php#L909

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jleyva Juan Leyva
              Reporter:
              hitteshahuja Hittesh Ahuja
              Peer reviewer:
              Pau Ferrer
              Integrator:
              Juan Leyva
              Tester:
              Berta Maroto
              Participants:
              Component watchers:
              Votes:
              4 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                12/Dec/16