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

Upgrading moodle does not update moodlelib oci package

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.0
    • Fix Version/s: None
    • Component/s: Database SQL/XMLDB
    • Labels:
    • Affected Branches:
      MOODLE_30_STABLE

      Description

      When a change is made to oci_native_moodle_package.sql title, after a version bump, the script is not run again. Further, I don't believe the site admin is givin any indication that this file has changed.

      In order to use any fix provided by modification to this file, the site admin either has to reinstall moodle, or manually run the sql script. Neither of these are ideal IMO.

      As far as I can tell, the script is installed from oci_native_moodle_database.php title in the connect method. This seems like a strange place to do it to me.

      I would suggest something like making a call to

      {oci_native_moodle_database::attempt_oci_pacakge_install}

      in the moodle install script so that when a version bump happens, the package gets updated.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              cameron1729 cameron1729
              Participants:
              Component watchers:
              Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated: