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

Grade Item is always created for Tool Proxy (LTI 2) links

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Deferred
    • Icon: Major Major
    • None
    • 3.2.4, 3.3, 3.4
    • LTI External tool
    • MOODLE_32_STABLE, MOODLE_33_STABLE, MOODLE_34_STABLE
    • master-MDL-59789
      1. Edit settings
      2. Tick accept grades
      3. Save
      4. Untick accept grades
      5. Save
    • Hide
      Prerequisite.
      1. Ensure your site can be accessed publicly (use something like ngrok).
      Test 1
      1. Go to Site Administration > Plugins > Activity Modules > External tool > Manage tools
      2. Add the URL 'http://lti.tools/test/tp.php' to the text field and click 'Add'.
      3. In the 'Registration' tab select all the 'Enabled capabilities' and deselect 'Result.autocreate'.
      4. Click on Register and then 'Yes' on the next page.
      5. Go to a course and add an 'External tool'.
      6. Under 'Preconfigured tool' select choose the tool you just added.
      7. Confirm the page does NOT show the Grade section and the 'Accept grades from the tool' option is unchecked and disabled in the Privacy section.
      8. Save the tool.
      9. Click to view grades for the course.
      10. Mark sure you don't see an entry for that tool.
      11. Go to Site Administration > Plugins > Activity Modules > External tool > Manage tools.
      12. Add another tool using the same method as before (add https://online.dr-chuck.com/sakai-api-test/tp.php).
      13. Add this as an activity in the course.
      14. Visit the grades for the course.
      15. The grade section should be available and the grade option checked.
      16. Click to view grades for the course.
      17. Make sure you do see an entry for that tool.
      18. Add a tool typing in the url for the first tool you added (http://lti.tools/test/tp.php) but not choosing it from the drop down.
      19. Tick "accept grades".
      20. Make sure the tool appears in grades.
      21. Edit the tool again and untick "accept grades" and save.
      22. Make sure the tool does not appears in grades.
      Show
      Prerequisite. Ensure your site can be accessed publicly (use something like ngrok). Test 1 Go to Site Administration > Plugins > Activity Modules > External tool > Manage tools Add the URL 'http://lti.tools/test/tp.php' to the text field and click 'Add'. In the 'Registration' tab select all the 'Enabled capabilities' and deselect 'Result.autocreate'. Click on Register and then 'Yes' on the next page. Go to a course and add an 'External tool'. Under 'Preconfigured tool' select choose the tool you just added. Confirm the page does NOT show the Grade section and the 'Accept grades from the tool' option is unchecked and disabled in the Privacy section. Save the tool. Click to view grades for the course. Mark sure you don't see an entry for that tool. Go to Site Administration > Plugins > Activity Modules > External tool > Manage tools. Add another tool using the same method as before (add https://online.dr-chuck.com/sakai-api-test/tp.php ). Add this as an activity in the course. Visit the grades for the course. The grade section should be available and the grade option checked. Click to view grades for the course. Make sure you do see an entry for that tool. Add a tool typing in the url for the first tool you added ( http://lti.tools/test/tp.php ) but not choosing it from the drop down. Tick "accept grades". Make sure the tool appears in grades. Edit the tool again and untick "accept grades" and save. Make sure the tool does not appears in grades.

      When a Tool is deployed using an LTI 2 Registration Flow without requesting Result.autocreate

      When adding a link for that Tool

      The External Tool page does NOT show the Grade section and the grade option is unchecked and disabled from the Privacy section (expected)

      Yet on Save:

      Observed: a Grade Item is created for the link

      Expected: a Grade item should not be created

      This is a major usability issue of creating columns where none are expected.

      See screencast (1m20)

       

            claudevervoort Claude Vervoort
            claudevervoort Claude Vervoort
            Mark Nelson Mark Nelson
            Votes:
            4 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

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