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

db_replace should not update text on mdl_log

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.8, 2.5
    • Fix Version/s: 2.5
    • Component/s: Administration
    • Labels:
    • Testing Instructions:
      Hide

      On a test site (this is highly likely to trash your site):

      • [-] Perform some logged activities on your site (e.g. forum posts)
      • [ ] Check your mdl_log and note your IP
      • [-] Navigate to /admin/tool/replace/
      • [-] Rename from your IP to some other IP
      • [ ] Confirm that the log table was not listed in the generated SQL output
      • [ ] Confirm that your mdl_log table has not changed at all
      Show
      On a test site (this is highly likely to trash your site): [-] Perform some logged activities on your site (e.g. forum posts) [ ] Check your mdl_log and note your IP [-] Navigate to /admin/tool/replace/ [-] Rename from your IP to some other IP [ ] Confirm that the log table was not listed in the generated SQL output [ ] Confirm that your mdl_log table has not changed at all
    • Affected Branches:
      MOODLE_21_STABLE, MOODLE_25_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE
    • Pull Master Branch:

      Description

      mdl_log is often used for audit purposes. We shouldn't ever change it.
      Additionally, this makes renaming a site painfully slow

        Gliffy Diagrams

          Attachments

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  14/May/13