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

LTI Adv grades do not roll up in course total

XMLWordPrintable

    • MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE, MOODLE_38_STABLE
    • MOODLE_37_STABLE, MOODLE_38_STABLE
    • MDL-67132-LTI-Adv-TriggerCalc
    • Hide
      Prerequisite

      Note: This test is using ZTest but any other LTI 1.3 test tool allowing to create both line items through content item selection and API calls could be used.

      1. Site is configured with at least one course, one instructor and one student
      2. ZTest tool 1.3 is installed as a site external tool:
        1. Log in as an administrator
        2. Navigate to Site Administration > Plugins > External tool > Manage tools
        3. Click on configure a tool manually
        4. Fill the form as follow:
          1. Tool name: ZTest 1.3
          2. Tool url: https://ztest.cengage.info/ztest/lti
        5. LTI Version: LTI 1.3
        6. Public key: copy the value from https://ztest.cengage.info/ztest/ LTI 1.3 Connect info tab
        7. Initiate Login URI: https://ztest.cengage.info/ztest/ws/lti/startlaunch?lti13=true&client_id=CLIENT_ID_HERE&platform=moodle
        8. Redirect URI: https://ztest.cengage.info/ztest/lti13
        9. Click on ‘Show more’
        10. Check Content-Item message
        11. Change the 'Privacy' setting ‘Accept grades from the tool’ to 'Delegate to Teacher'.
        12. In Services, IMS LTI Assignment and Grade Services, choose Use this service for grade and column mgmt
        13. Save changes.
        14. Once the tool is created, click the information icon (pie icon) and copy the client id
        15. Update the initiate login URI and replace CLIENT_ID_HERE with the client id value for that tool
      Adding an LTI 1.3 Resource link Graded can post score and counts in total

      In this test we verify that we can send a score for an graded link (existing functionality)

      1. As instructor, log to a course
      2. Turn editing ON
      3. Click Add an activity or resource and select external tool
      4. On the Add external tool page, select ZTest 13 tool for preconfigured tool
      5. Click on Select Content
      6. In the modal:
        1. Click content-item button
      7. Click on Select Content
      8. In the modal:
        1. Click on pie icon and select content-item
        2. Select Assignment and set points possible to 50
        3. Click Submit button
      9. When the modal is closed, verify:
        1. Grade section is visible
        2. Expand the grade section
        3. Maximum Score: 50
      1. As student, log to a course
        1. Launch the ztest activity link just created
        2. Select Any call
        3. Click on Create Line Item and press Send
        4. In the Response, verify 200
        5. In the response, copy the id value (a URL like https://../mod/lti/services.php/../lineitems/../lineitem?type_id=..
        6. Click the Post Random Score
        7. Paste it in the URL and append /scores after lineitem, like https://../mod/lti/services.php/../lineitems/scores/../lineitem?type_id=.. (this is where to post that score, i.e. the column created by the previous call)
        8. Press Send
          1. Verify response is 200
        9. In the grade book, verify:
          1. the grade is recorded for that new column (ZTest<some number>)
          2. it accounts in the course total (that is the bug being fixed)
      Show
      Prerequisite Note: This test is using ZTest but any other LTI 1.3 test tool allowing to create both line items through content item selection and API calls could be used. Site is configured with at least one course, one instructor and one student ZTest tool 1.3 is installed as a site external tool: Log in as an administrator Navigate to Site Administration > Plugins > External tool > Manage tools Click on configure a tool manually Fill the form as follow: Tool name: ZTest 1.3 Tool url: https://ztest.cengage.info/ztest/lti LTI Version: LTI 1.3 Public key: copy the value from https://ztest.cengage.info/ztest/ LTI 1.3 Connect info tab Initiate Login URI: https://ztest.cengage.info/ztest/ws/lti/startlaunch?lti13=true&client_id=CLIENT_ID_HERE&platform=moodle Redirect URI: https://ztest.cengage.info/ztest/lti13 Click on ‘Show more’ Check Content-Item message Change the 'Privacy' setting ‘Accept grades from the tool’ to 'Delegate to Teacher'. In Services, IMS LTI Assignment and Grade Services, choose Use this service for grade and column mgmt Save changes. Once the tool is created, click the information icon (pie icon) and copy the client id Update the initiate login URI and replace CLIENT_ID_HERE with the client id value for that tool Adding an LTI 1.3 Resource link Graded can post score and counts in total In this test we verify that we can send a score for an graded link (existing functionality) As instructor, log to a course Turn editing ON Click Add an activity or resource and select external tool On the Add external tool page, select ZTest 13 tool for preconfigured tool Click on Select Content In the modal: Click content-item button Click on Select Content In the modal: Click on pie icon and select content-item Select Assignment and set points possible to 50 Click Submit button When the modal is closed, verify: Grade section is visible Expand the grade section Maximum Score: 50 As student, log to a course Launch the ztest activity link just created Select Any call Click on Create Line Item and press Send In the Response, verify 200 In the response, copy the id value (a URL like https://../mod/lti/services.php/../lineitems/../lineitem?type_id= .. Click the Post Random Score Paste it in the URL and append /scores after lineitem, like https://../mod/lti/services.php/../lineitems/scores/../lineitem?type_id= .. (this is where to post that score, i.e. the column created by the previous call) Press Send Verify response is 200 In the grade book, verify: the grade is recorded for that new column (ZTest<some number>) it accounts in the course total (that is the bug being fixed)

      When a column is created using the Assignment and Grades LTI API (Gradebook Services), grades posted to that column are recorded but do not roll up in calculated columns such as total score.

      This bug might need to be backported to earlier versions.

            claudevervoort Claude Vervoort
            claudevervoort Claude Vervoort
            Mathew May Mathew May
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Anna Carissa Sadia Anna Carissa Sadia
            Votes:
            9 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 6 hours, 49 minutes
                6h 49m

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