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

    Details

    • Testing Instructions:
      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)
    • Affected Branches:
      MOODLE_34_STABLE, MOODLE_35_STABLE
    • Fixed Branches:
      MOODLE_34_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-61312-master

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              jleyva Juan Leyva
              Reporter:
              jleyva Juan Leyva
              Peer reviewer:
              Carlos Escobedo
              Integrator:
              Eloy Lafuente (stronk7)
              Tester:
              Janelle Barcega
              Participants:
              Component watchers:
              Sam Marshall, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                19/Mar/18

                Time Tracking

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