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

Improve the debugging information for badges - Take 2

XMLWordPrintable

    • MOODLE_402_STABLE
    • MOODLE_402_STABLE
    • MDL-77842-master
    • Hide

      Requirements:

      1. Run your site with public access and HTTPS (use ngrok or similar).
      2. One account set up on https://badgr.com/

      Testing scenario:

      1. Login as admin
      2. Go to "Site administration > Server > OAuth 2 services"
      3. Create an "Open Badges" service with the following information:
      4. Go to "Site administration > Badges > Manage backpacks"
      5. Create a new backpack with the following information:
      6. Create a badge, publish it and award it to the admin user.
      7. Go to the user preferences page.
      8. Access to "Backpack settings".
      9. Select "https://badgr.com" from the list and connect using a valid user account in Badgr.com. 
      10. Go to the user profile page and access the badge you've been awarded.
      11. Click the "Add to backpack" button.
      12. Check the following error is displayed: Error: Method Not Allowed. Message: Request method 'POST' not supported 
      Show
      Requirements: Run your site with public access and HTTPS (use ngrok or similar). One account set up on https://badgr.com/ .  Testing scenario: Login as admin Go to "Site administration > Server > OAuth 2 services" Create an "Open Badges" service with the following information: Name: Badgr Service base URL: https://badgr.com/ Go to "Site administration > Badges > Manage backpacks" Create a new backpack with the following information: Backpack API: https://badgr.com Backpack URL: https://badgr.com API version supported: Open Badges v2.1 OAuth 2 services: Badgr Create a badge, publish it and award it to the admin user. Go to the user preferences page. Access to "Backpack settings". Select "https://badgr.com" from the list and connect using a valid user account in Badgr.com.  Go to the user profile page and access the badge you've been awarded. Click the "Add to backpack" button. Check the following error is displayed: Error: Method Not Allowed. Message: Request method 'POST' not supported  
    • HQ 2023 Sprint i1.3 Moppies

      In MDL-77086 some changes were done to display more information when a badge is sent and an error is thrown.

      However, as Badgr is still not following the specification, it's still causing some errors (that are hard to debug).

            sarjona Sara Arjona (@sarjona)
            sarjona Sara Arjona (@sarjona)
            Amaia Anabitarte Amaia Anabitarte
            Paul Holden Paul Holden
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

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

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