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

    • Testing Instructions:
      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.
    • Affected Branches:
      MOODLE_39_STABLE
    • Fixed Branches:
      MOODLE_39_STABLE
    • Pull from Repository:
    • Pull 3.9 Branch:
    • Pull Master Branch:
      MDL-69055-master
    • Sprint:
      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

            Assignee:
            sarjona Sara Arjona (@sarjona)
            Reporter:
            sarjona Sara Arjona (@sarjona)
            Peer reviewer:
            Carlos Escobedo
            Integrator:
            Adrian Greeve
            Tester:
            Anna Carissa Sadia
            Participants:
            Component watchers:
            Yuliya Bozhko, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              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