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

OAuth 2 services is displayed always when creating a badge backpack regardless the OB version

    XMLWordPrintable

Details

    • MOODLE_39_STABLE
    • MOODLE_39_STABLE
    • MDL-69055-master
    • Hide
      1. Login as admin.
      2. Go to "Site administration / Badges / Manage backpacks".
      3. Click the "Add a new backpack" button.
      4. Set "API version supported" to Open Badges v2.0.
      5. Check the field "OAuth 2 services" is hidden and "Badge issuer password" is displayed.
      6. Set "API version supported" to Open Badges v1.0.
      7. Check fields "OAuth 2 services" and "Badge issuer password" are hidden.
      8. Set "API version supported" to Open Badges v2.1.
      9. Check the field "OAuth 2 services" is displayed and "Badge issuer password" is hidden.
      Show
      Login as admin. Go to "Site administration / Badges / Manage backpacks". Click the "Add a new backpack" button. Set "API version supported" to Open Badges v2.0. Check the field "OAuth 2 services" is hidden and "Badge issuer password" is displayed. Set "API version supported" to Open Badges v1.0. Check fields "OAuth 2 services" and "Badge issuer password" are hidden. Set "API version supported" to Open Badges v2.1. Check the field "OAuth 2 services" is displayed and "Badge issuer password" is hidden.
    • Moppies Kanban

    Description

      Steps to reproduce:

      1. Login as admin.
      2. Go to "Site administration / Badges / Manage backpacks".
      3. Click the "Add a new backpack" button.
      4. Set "API version supported" to Open Badges v2.0.

       

      Expected result:

      The "OAuth 2 services" field should be hidden and the password should be displayed.

       

      Current result:

      The "OAuth 2 services" field is still displayed and the password field is not shown. When saving changes and editing it again, the form is displayed as expected.

       

      It happens the same when selecting "Open Badges v1.0". In that case, the expected result is to hide both, password and oAuth 2 services fields.

      Attachments

        Activity

          People

            sarjona Sara Arjona (@sarjona)
            sarjona Sara Arjona (@sarjona)
            Carlos Escobedo Carlos Escobedo
            Adrian Greeve Adrian Greeve
            Anna Carissa Sadia Anna Carissa Sadia
            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:
              14/Sep/20

              Time Tracking

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