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

The assertion link in the baked badge is not displayed using the proper OB version

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide

      Requirements

      1. One account on badgr.io

      Setup

      1. As admin verify that badges are enabled in Administration / Site administration / Advanced features.
      2. Configure Badgr as you default backpack: https://docs.moodle.org/en/Badges_settings#Enabling_Badgr_as_the_active_external_backpack
      3. Go to "Site administration / Badges / Manage Badges / Add a new badge" and create a badge at site level.
      4. Add a criteria to the badge so it can be manually issued by role.
      5. Enable the badge.
      6. Issue the badge to the admin user.
      7. Access to "Site administration / Badges / Backpack settings" and make sure the site backpack is set to "https://badgr.io".

      Testing instructions

      1. View this user's profile page.
      2. Verify that in "Badges from [Moodle instance name]" you now see your local badge.
      3. Access to the badge.
      4. Verify the page is displayed without errors.
      5. In the URL, replace badges/badge.php?hash= to badges/assertion.php?b= (the context after hash= should be keept).
      6. Check the JSON content displayed contains @context and doesn't contain uid.
      7. Access to "Site administration / Badges / Backpack settings" and set the site backpack to "https://backpack.openbadges.org/".
      8. View this user's profile page.
      9. Access to the badge.
      10. Verify the page is displayed without errors.
      11. In the URL, replace badges/badge.php?hash= to badges/assertion.php?b= (the context after hash= should be keept).
      12. Check the JSON content displayed doesn't contain @context and contains uid.
      Show
      Requirements One account on badgr.io Setup As admin verify that badges are enabled in Administration / Site administration / Advanced features. Configure Badgr as you default backpack: https://docs.moodle.org/en/Badges_settings#Enabling_Badgr_as_the_active_external_backpack Go to "Site administration / Badges / Manage Badges / Add a new badge" and create a badge at site level. Add a criteria to the badge so it can be manually issued by role. Enable the badge. Issue the badge to the admin user. Access to "Site administration / Badges / Backpack settings" and make sure the site backpack is set to "https://badgr.io". Testing instructions View this user's profile page. Verify that in "Badges from [Moodle instance name] " you now see your local badge. Access to the badge. Verify the page is displayed without errors. In the URL, replace  badges/badge.php?hash= to badges/assertion.php?b= (the context after hash= should be keept). Check the JSON content displayed contains @context and doesn't contain uid. Access to "Site administration / Badges / Backpack settings" and set the site backpack to "https://backpack.openbadges.org/". View this user's profile page. Access to the badge. Verify the page is displayed without errors. In the URL, replace  badges/badge.php?hash= to badges/assertion.php?b= (the context after hash= should be keept). Check the JSON content displayed doesn't contain @context and contains uid.
    • Affected Branches:
      MOODLE_37_STABLE, MOODLE_38_STABLE
    • Fixed Branches:
      MOODLE_37_STABLE, MOODLE_38_STABLE
    • Pull from Repository:
    • Pull 3.7 Branch:
    • Pull 3.8 Branch:
    • Pull Master Branch:
      MDL-67451-master
    • Sprint:
      Moodle 3.9 - Moppies Kanban

      Description

      While trying to get the IMS OB certification it has been discovered that the assertion URL added to the baked badge is not correct (the OB1.0 URL is always displayed).
       

        Attachments

          Activity

            People

            • Assignee:
              sarjona Sara Arjona (@sarjona)
              Reporter:
              sarjona Sara Arjona (@sarjona)
              Peer reviewer:
              Ferran Recio
              Integrator:
              Jake Dallimore
              Tester:
              Gladys Basiana
              Participants:
              Component watchers:
              Yuliya Bozhko, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                13/Jan/20

                Time Tracking

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