Replacing ULRs in "content" tables
As far as I can see, datacleaner is not replacing URLs in the tables/columns that contain "content" text.
For example old (production) URLs can be found in the following tables:
mdl_badge issuerurl
mdl_badge message
mdl_course_sections summary
mdl_event description
mdl_forum intro
mdl_forum_posts message
mdl_label intro
mdl_page content
mdl_questionnaire intro
mdl_scorm intro
This makes it easy to make mistakes by users and jump to the production instance. What do you think about doing URL replacements, for example in all *.message, *.description, *.info, *.content tables.
If true that's a bug not a feature, the code for this was essentially copied from core and the 'content' tables are the primary target of what this cleaner should be working on. We've not seen this though and are using it, so this might be a config issue, can you add more details to reproduce?
https://github.com/catalyst/moodle-local_datacleaner/blob/MOODLE_311_STABLE/cleaner/replace_urls/classes/clean.php
As always pr's welcome