Currently sanitizing works just by sanitizing the dump, but in some use cases the database may be copied in a different way. E.g. sql-sync.

Comments

barthje created an issue. See original summary.

barthje’s picture

StatusFileSize
new2.18 KB

I've created a patch for the functionality.

I'd rather create an abstract class with all the base functionality and let the SqlDump qnd SqlSanitize classes extend from there, but not sure if you guys agree.

barthje’s picture

Status: Active » Needs review
barthje’s picture

StatusFileSize
new2.82 KB

Forgot to include the new service in my patch.

mycw1991’s picture

Status: Needs review » Reviewed & tested by the community

Code looks good and did a functional test on drupal 8.5.1. Works as expected.

  • mhavelant committed eaeffce on 8.x-1.x authored by barthje
    Issue #2958104 by barthje, mycw1991: Add the option to sanitize the...
mhavelant’s picture

Status: Reviewed & tested by the community » Fixed

@barthje
Thanks a lot!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.