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

Add environmental check to 2.3 about the hash extension installed.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.7, 2.1.4, 2.2.1, 2.3
    • Fix Version/s: 2.1.5, 2.2.2
    • Component/s: Libraries
    • Labels:
      None
    • Testing Instructions:
      Hide
      • Go to admin -> server -> environement
      • In the "Moodle version" dropdown menu pick 2.3 (note it's the unique value in master right now, but both 2.1 and 2.2 show other versions).
      • Verify that one line with "php_extension hash must be installed and enabled" is shown.
      • If you can pick other versions different from 2.3 in the drop-down menu (only in 21 and 22 stable), do it.
      • Verify other versions do not show the "php extension hash" requirement.
      Show
      Go to admin -> server -> environement In the "Moodle version" dropdown menu pick 2.3 (note it's the unique value in master right now, but both 2.1 and 2.2 show other versions). Verify that one line with "php_extension hash must be installed and enabled" is shown. If you can pick other versions different from 2.3 in the drop-down menu (only in 21 and 22 stable), do it. Verify other versions do not show the "php extension hash" requirement.
    • Affected Branches:
      MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE
    • Pull from Repository:
    • Pull Master Branch:

      Description

      Although it's installed by default since PHP 5.1, so 99% of sites out there will have it... I think it's ok to check for it in environmental checks.

      Right now we are using it in a few (non-super-critical) places... but with MDL-30698, it will be used by forums... so better check for it @ 2.3.

      Ciao

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    12/Mar/12