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

Add "test database setup" to the "External Database" enrollment and authentication plugins

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8, 1.8.1, 1.8.2, 1.8.3, 1.8.4, 1.8.5, 1.8.6, 1.9, 1.9.1, 1.9.2, 2.5
    • Fix Version/s: 2.6
    • Component/s: Authentication, Enrolments
    • Labels:
    • Database:
      Any
    • Testing Instructions:
      Hide
      1. go to admin -> plugins -> auth plugins -> overview
      2. Enable the Database plugin
      3. try the new "Test settings" link next to db auth - you should see errors
      4. fix the settings and execute test again
      5. repeat for external DB enrolments
      Show
      go to admin -> plugins -> auth plugins -> overview Enable the Database plugin try the new "Test settings" link next to db auth - you should see errors fix the settings and execute test again repeat for external DB enrolments
    • Affected Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_26_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      w41_MDL-16073_m26_extdbtest
    • Story Points:
      4
    • Sprint:
      BACKEND Sprint 5

      Description

      It is hard to test whether the administrative panel for External Database Authentication and for External Database Enrollment is configured correctly. Currently, you have to create fake user accounts or similar, and try to authenticate them or enroll them and see if they receive email, etc. (At least, that's how I tested it! Does someone have a better way?)

      It woule be nice to have a "Test Connection" button on that page which goes through and makes sure all the db info (username, password, connection, etc.) and data mapping is correct. AND prints out all this stuff to the screen in an easy-to-read report.

      Thank you!

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              skodak Petr Skoda
              Reporter:
              jsilve1 Jeffrey Silverman
              Integrator:
              Sam Hemelryk
              Tester:
              Andrew Nicols
              Participants:
              Component watchers:
              Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              Votes:
              4 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                18/Nov/13