XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Note: Version number is bumped because a new web service is added into the Mobile app service and to the mod_resource list of external functions.

      1. Create a course with a teacher, the course must have at least one section.
      2. Create a mod_assign activity
      3. As admin, enable "Mobile services": Plugins ► Web Services ► Mobile
      4. Create a Token for the teacher user
        • Click on Site administration ► Plugins ► Web services ► Manage tokens
      5. Next, you can do a CURL REST call simulating a WS client with the student user .
        • You need to replace the wstoken, assignid (the assign module instance value) and the URL of your moodle instance

          curl 'http://localhost/m/stable_master/webservice/rest/server.php?moodlewsrestformat=json' --data 'assignid=4&wsfunction=mod_assign_view_grading_table&wstoken=a70d553bbaf6d9b260a9e5c701b3c46e' --compressed

      6. Confirm that
        • You can see new entries in the course log (grading table viewed) for the assignment and the user. The origin for the new log entries is "ws"
      Show
      Note: Version number is bumped because a new web service is added into the Mobile app service and to the mod_resource list of external functions. Create a course with a teacher, the course must have at least one section. Create a mod_assign activity As admin, enable "Mobile services": Plugins ► Web Services ► Mobile Create a Token for the teacher user Click on Site administration ► Plugins ► Web services ► Manage tokens Next, you can do a CURL REST call simulating a WS client with the student user . You need to replace the wstoken, assignid (the assign module instance value) and the URL of your moodle instance curl 'http://localhost/m/stable_master/webservice/rest/server.php?moodlewsrestformat=json' --data 'assignid=4&wsfunction=mod_assign_view_grading_table&wstoken=a70d553bbaf6d9b260a9e5c701b3c46e' --compressed Confirm that You can see new entries in the course log (grading table viewed) for the assignment and the user. The origin for the new log entries is "ws"
    • Affected Branches:
      MOODLE_29_STABLE
    • Fixed Branches:
      MOODLE_30_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-49796-master

      Description

      Launch the grading_table_viewed event (the user view that page using an external application, like moodle mobile)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jleyva Juan Leyva
                Reporter:
                jleyva Juan Leyva
                Peer reviewer:
                Mark Nelson
                Integrator:
                Dan Poltawski
                Tester:
                Jetha Chan
                Participants:
                Component watchers:
                Damyon Wiese, Adrian Greeve, Mihail Geshoski, Peter Dias, Juan Leyva, Jake Dallimore, Jun Pataleta, Ryan Wyllie
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  16/Nov/15