mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #57710
[Bug 1846994] Re: Mozilla Backpack needs to be deprecated
- Code/Gerrit: https://reviews.mahara.org/#/c/10602 Patch set 4
- Browser tested: Chrome; Note: browser testing not necessary.
- Theme: Raw; Note: theme testing not necessary.
- Scope: Testing an 'old' page with content from it is not covered in this testing, it was not implemented at this point in time (see patch set tested).
Preconditions:
a. Mahara site version 19.10 is present with fresh database.
b. Person A has an account with Open Badge Passport that is populated with several badges. The email address used in the Passport is also used in their account on Mahara.
c. PersonA has PageA that has an 'Open Badges' block on it that is populated with several badges from their Open Badge Passport.
Test steps:
1. Upgrade the site with the patch.
2. Log in as site administrator, navigate to 'Admin menu'> 'Extensions' > 'Plugin administration'.
Expected results: The 'Plugin administration' page will display.
- ✔ When site admin scrolls down to the page bottom, the option 'openbadgedisplayer' is highlighted.
- ✔ The message 'Component "Mozilla backpack" deprecated' will display between the option name and the 'Hide'/'Show' button.
- ✔ The message will persist for both the 'Hide' button value and the 'Show' button value.
3. Login as PersonA, navigate to Page1 and edit it. Accept the page upgrade.
Expected result: ✔ The page upgrade will complete successfully and the previously selected badges will remain present in the block.
4. Add a new 'Open Badges' block to the page.
Expected results: The 'Open Badge' block modal displays:
- ✔ the last line of the instructions text doesn't mention the Mozilla Backpack.
- ✔ each named provider above is a link
- ✔ the Badgr information message is displayed unchanged
- ✔ the Mozilla Backpack email message is NOT displayed
- ✔ the Open Badge Passport badge selection information is displayed
- ✔ other modal content is unchanged.
5. Update the block title to ‘Test new badge block’, select a collection of badges, then 'Save'.
Expected result: ✔ The new block saves successfully. It displays the selected badges.
6. Edit the existing 'Open Badges' block.
Expected results: The modal displays:
- ✔ the last line of the instructions text displayed underneath the block title will be updated as follows:
'Open Badge Passport, Badgr Backpack' (i.e. no mention of 'Mozilla Backpack' is present)
- ✔ each named provider above is a link
- ✔ the Badgr information message is displayed unchanged
- ✔ the Mozilla Backpack email message is NOT displayed
- ✔ the Open Badge Passport badge selection information is displayed with the correct badges ticked
- ✔ other modal content is unchanged.
7. Make a change to the selected badges and 'Save'
Expected result: ✔ The changed block saves successfully; when displayed, it shows the correct badges.
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1846994
Title:
Mozilla Backpack needs to be deprecated
Status in Mahara:
Fix Committed
Status in Mahara 20.04 series:
Fix Committed
Bug description:
The Mozilla Open Badges Backpack does not exist anymore. Therefore, we
should not be trying to connect to the server and pull badges.
Furthermore, any badges that came from Mozilla Backpack won't be
displayed anymore. It would be good to show a note in the block on the
display and edit screens to that effect to let people know why badges
are not displayed rather than simply not displaying them.
At minimum these things will need to be dealt with:
- Remove Mozilla as backpack source from config-defaults
- Remove Mozilla from being searched for as backpack
- Display a message in the Open Badges block about Mozilla Backpack not being available anymore when badges had been selected from it (if we keep that information somewhere in the database). This would be good to have as general message so it can also work for Badgr and Open Badge Passport if a person migrates to another site that doesn't have them enabled.
- Add Badgr as default option into config-defaults if not already there.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1846994/+subscriptions
References