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

Remove hardcoded references to backpack.openbadges.org

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.5.2
    • Fix Version/s: 2.7
    • Component/s: Badges
    • Labels:
    • Testing Instructions:
      Hide

      For testing your web site should be accessible from the Internet to test pushing badges to a backpack. You will need a user with at least one local badge issued and a Mozilla backpack at http://backpack.openbadges.org

      1. Login as a user.

      2. Go to Home > My profile settings > Badges > Backpack settings

      3. If you have backpack connected, disconnect.

      4. Set up backpack connection.

      5. Make sure there are no error in the process and you can still select badge collections from your backpack (if you have any).

      6. Go to "My profile > My badges" page.

      7. Try to push your local badge to your backpack.

      8. Make sure it is still working without any issues

      Show
      For testing your web site should be accessible from the Internet to test pushing badges to a backpack. You will need a user with at least one local badge issued and a Mozilla backpack at http://backpack.openbadges.org 1. Login as a user. 2. Go to Home > My profile settings > Badges > Backpack settings 3. If you have backpack connected, disconnect. 4. Set up backpack connection. 5. Make sure there are no error in the process and you can still select badge collections from your backpack (if you have any). 6. Go to "My profile > My badges" page. 7. Try to push your local badge to your backpack. 8. Make sure it is still working without any issues
    • Affected Branches:
      MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_27_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-41810_master

      Description

      There are a few references to the Mozilla backpack hardcoded. In MDL-40848 I used a constant to avoid hardcoding the value since eventually we will want to support more backpacks.

      It would make sense to use a constant for all references, not just the ones in the backpack. This might involve moving the constant somewhere more central such as badgeslib.php.

        Attachments

          Activity

            People

            Assignee:
            ybozhko Yuliya Bozhko
            Reporter:
            simoncoggins Simon Coggins
            Peer reviewer:
            Dan Poltawski
            Integrator:
            Damyon Wiese
            Tester:
            Rajesh Taneja
            Participants:
            Component watchers:
            Yuliya Bozhko, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              12/May/14