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

core_completion_get_activities_completion_status is not returning the status correctly for teachers

XMLWordPrintable

    • MOODLE_34_STABLE, MOODLE_35_STABLE
    • MOODLE_34_STABLE
    • MDL-61312-master
    • Hide
      1. As admin, enable "Mobile services": Site administration ► Mobile app ► Mobile settings
      2. Enable completion tracking in Site administration > Advanced features
      3. Create a new course with the option "Enable completion tracking" set to yes
      4. Create a new page, set " Completion tracking" to "Students can manually mark the activity as completed"
      5. Enrol a user in the course as teacher
      6. Using the Moodle Mobile app access the course as the teacher
      7. Mark the activity manually as completed (clicking on the empty box)
      8. Check that the activity is marked (you see a tick inside the box)
      Show
      As admin, enable "Mobile services": Site administration ► Mobile app ► Mobile settings Enable completion tracking in Site administration > Advanced features Create a new course with the option "Enable completion tracking" set to yes Create a new page, set " Completion tracking" to "Students can manually mark the activity as completed" Enrol a user in the course as teacher Using the Moodle Mobile app access the course as the teacher Mark the activity manually as completed (clicking on the empty box) Check that the activity is marked (you see a tick inside the box)

      See MOBILE-2202 for more information, it seems that the WS only returns the completion status correctly when the teacher user also has a student role

            jleyva Juan Leyva
            jleyva Juan Leyva
            Carlos Escobedo Carlos Escobedo
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Janelle Barcega Janelle Barcega
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 40 minutes
                40m

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