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

Check if the password and email fields are empty when creating an external backpack

XMLWordPrintable

    • MOODLE_400_STABLE
    • MOODLE_401_STABLE, MOODLE_402_STABLE
    • MDL-78102-401
    • MDL-78102-master
    • Hide

      Requirements

      1. Outgoing server configured (mailcacher or similar).
      2. One account on https://badgr.com/

      Testing instructions

      1. Login as user.
      2. Go to user Preferences > Badges > Backpack settings (/badges/mybackpack.php).
      3. Click the "Connect to backpack" button.
      4. Check "Password can't be blank " message is displayed.
      5. Delete email address field.
      6. Click the "Connect to backpack" button.
      7. Check "Email address can't be blank" message is displayed.
      8. Set an email and a wrong "Password" value.
      9. Click the "Connect to backpack" button.
      10. Check the following message is displayed below the Email address field: "There was a problem connecting to your backpack. Your backpack provider is sending this message: 'Invalid credentials given.'."
      11. Set Email and Password with valid credentials for the account in Badgr.com 
      12. Click the "Connect to backpack" button.
      13. Check the Status is changed to "Verification pending"
      14. Open the verification email and open the URL to validate the account.
      15. Confirm status is set to Connected.
      Show
      Requirements Outgoing server configured (mailcacher or similar). One account on https://badgr.com/ Testing instructions Login as user. Go to user Preferences > Badges > Backpack settings (/badges/mybackpack.php). Click the "Connect to backpack" button. Check "Password can't be blank " message is displayed. Delete email address field. Click the "Connect to backpack" button. Check "Email address can't be blank" message is displayed. Set an email and a wrong "Password" value. Click the "Connect to backpack" button. Check the following message is displayed below the Email address field: "There was a problem connecting to your backpack. Your backpack provider is sending this message: 'Invalid credentials given.'." Set Email and Password with valid credentials for the account in Badgr.com  Click the "Connect to backpack" button. Check the Status is changed to "Verification pending" Open the verification email and open the URL to validate the account. Confirm  status is set to Connected.
    • 1
    • HQ 2023 Sprint i2.1 Moppies

      Steps to reproduce

      1. Login as user.
      2. Go to user Preferences > Badges > Backpack settings (/badges/mybackpack.php).
      3. Click the "Connect to backpack" button.

       

      Expected behaviour

      A meaningful message is displayed to say that password is a mandatory field.

       

      Current behaviour

      The following message is displayed: "There was a problem connecting to your backpack. Please check the credentials and try again. The backpack returned the error: "Request is missing password parameter.". "

       

            sarjona Sara Arjona (@sarjona)
            sarjona Sara Arjona (@sarjona)
            Carlos Escobedo Carlos Escobedo
            Amaia Anabitarte Amaia Anabitarte
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 6 hours, 17 minutes
                6h 17m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.