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

Image caption warning for external badges

    XMLWordPrintable

Details

    • MOODLE_311_STABLE, MOODLE_400_STABLE
    • MOODLE_311_STABLE
    • MDL-73128-311
    • MDL-73128-master
    • Hide

      Prerequisites

      1. An outgoing server configured (mailcacher or similar).
      2. One Badgr account on badgr.io with some badges and a collection (contact Sara if you don't have one... I created several for testing purposes and I can share them with you).
      3. Debugging for developers enabled in Moodle.

      Testing instructions

      1. Login as admin.
      2. Go to "Preferences / Badges / Backpack settings".
      3. Connect to the backpack using the Badgr.io account.
      4. Open the verification email and open the URL to validate the account.
      5. Confirm status is set to Connected.
      6. In the "Badge import settings" section (in the "Backpack settings" page), select at least one collection with badges and save changes.
      7. Go to the user profile.
      8. Check there is, at least, one badge in the "Badges from other web sites:" section.
      9. Check no warning is displayed.
      Show
      Prerequisites An outgoing server configured (mailcacher or similar). One Badgr account on badgr.io with some badges and a collection (contact Sara if you don't have one... I created several for testing purposes and I can share them with you). Debugging for developers enabled in Moodle. Testing instructions Login as admin. Go to "Preferences / Badges / Backpack settings". Connect to the backpack using the Badgr.io account. Open the verification email and open the URL to validate the account. Confirm  status is set to Connected. In the "Badge import settings" section (in the "Backpack settings" page), select at least one collection with badges and save changes. Go to the user profile. Check  there is, at least, one badge in the "Badges from other web sites:" section. Check no warning is displayed.
    • Moppies Kanban

    Description

      If a user has some external badges linked from their user profile page, the following warning is displayed (one warning per external badge): 

      Notice: Undefined property: stdClass::$imagecaption in moodle/badges/renderer.php on line 62

      This is a regression caused by MDL-72668.

      Attachments

        Issue Links

          Activity

            People

              sarjona Sara Arjona (@sarjona)
              sarjona Sara Arjona (@sarjona)
              Amaia Anabitarte Amaia Anabitarte
              Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
              Gladys Basiana Gladys Basiana
              Yuliya Bozhko, Amaia Anabitarte, Carlos Escobedo, Laurent David, Mikel Martín Corrales, Sabina Abellan, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                17/Jan/22

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour, 35 minutes
                  1h 35m