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

tool_replace: additional skip tables should clearly specify to NOT include prefix!

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Deferred
    • Icon: Minor Minor
    • None
    • 3.10.10, 3.11.6, 4.0, 4.1
    • Administration
    • None
    • MOODLE_310_STABLE, MOODLE_311_STABLE, MOODLE_400_STABLE, MOODLE_401_STABLE

      In Moodle 3.10, MDL-69746 added the ability to specify tables to ignore when doing a search and replace in the database, and this is very nice.

      But it doesn't specify that the prefix should NOT be included (because it isn't handled). That should be clearly specified, both in web interface (by specifying it in the lang string additionalskiptables_desc in tool_replace), and in the help of the cli script admin/tool/replace/cli/replace.php

      Not knowing this information, i've launched a replacement which took 30 minutes, and when i understood the problem (after trying to put courses in alphabetical order, removing space after comma, with no gain), and provided the "good" information, only 30 seconds.

      The indication should specify something like "Provide table names, without prefix, separated by comma (ex : user, course, role)."

      Hope this really easy improvment (only add text) can be made quickly. For the CLI version, the exemple should include tables skipped.

            Unassigned Unassigned
            fox Séverin Terrier
            Votes:
            3 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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