Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-54855

Add missing preventsubmissionnotingroup field in mod_assign_get_assignments

XMLWordPrintable

    • MOODLE_31_STABLE, MOODLE_32_STABLE
    • MOODLE_32_STABLE
    • MDL-54855-master
    • Hide
      1. Create one or more courses with one or more assignments.
      2. As admin, enable "Mobile services": Plugins ► Web Services ► Mobile
      3. Create a Token for the student user.
        • Click on Site administration ► Plugins ► Web services ► Manage tokens
      4. Next, you can do a CURL REST call simulating a WS client with the student user.
        • You need to replace the wstoken, courseids array (the ids of the created courses) and the URL of your moodle instance.

          curl 'http://localhost/m/stable_master/webservice/rest/server.php?moodlewsrestformat=json' --data 'wsfunction=mod_assign_get_assignments&courseids[]=3&courseids[]=4&wstoken=5b6154a56566a194f60f7f395f235179' --compressed

      5. Confirm that field preventsubmissionnotingroup exists in all assignments.
      Show
      Create one or more courses with one or more assignments. As admin, enable "Mobile services": Plugins ► Web Services ► Mobile Create a Token for the student 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, courseids array (the ids of the created courses) and the URL of your moodle instance. curl 'http://localhost/m/stable_master/webservice/rest/server.php?moodlewsrestformat=json' --data 'wsfunction=mod_assign_get_assignments&courseids[]=3&courseids[]=4&wstoken=5b6154a56566a194f60f7f395f235179' --compressed Confirm that field preventsubmissionnotingroup exists in all assignments.

      This field is missing in the current external function

            pferre22 Pau Ferrer
            jleyva Juan Leyva
            Juan Leyva Juan Leyva
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Mark Nelson Mark Nelson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.