Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-778 META: Migrate to Ionic
  3. MOBILE-1007

Implement logging support in course component

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Courses, Logging
    • Labels:
    • Testing Instructions:
      Hide

      To test this you need a Moodle with the WS function core_course_view_course available.

      1. In the app, go to "Contents" of any course and then click "Show all".
      2. Access Moodle web as admin, go to the course logs and check that there's an entry of the kind: The user with id '4' viewed the course with id '2'.
      3. In the app again, instead of clicking "Show all" click any other section.
      4. As admin in Moodle web, check that there's a new entry of the kind: The user with id '4' viewed the section number '3' of the course with id '2'.
      Show
      To test this you need a Moodle with the WS function core_course_view_course available. In the app, go to "Contents" of any course and then click "Show all". Access Moodle web as admin, go to the course logs and check that there's an entry of the kind: The user with id '4' viewed the course with id '2'. In the app again, instead of clicking "Show all" click any other section. As admin in Moodle web, check that there's a new entry of the kind: The user with id '4' viewed the section number '3' of the course with id '2'.
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE
    • Pull Master Branch:

      Description

      When a user see a course or a course section the WS for triggering events/logging mus be called (core_course_view_course core_course_view_course_section)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dpalou Dani Palou
              Reporter:
              jleyva Juan Leyva
              Peer reviewer:
              Frédéric Massart
              Integrator:
              Juan Leyva
              Tester:
              Juan Leyva
              Participants:
              Component watchers:
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                31/Jul/15