Hi, thank you for sharing this nice little module.

I have an issue about webform submissions which are not IP anonymized unless the cache is rebuilt.

The cron runs fine, the database is correctly emptied on the remote_addr field in webform_submission table. But webform has a sort of cache which keeps the IP addresses viewable on the submissions list if the listed submissions were already rendered in this same list. If we run the cron before refreshing the submissions list, the newer items will be correctly IP anonymized.

If we export the data, the IP addresses which are still hanging in the cache are also kept in the exported csv.

Tested on Drupal 8.4.8.

Comments

Dakwamine created an issue. See original summary.

  • mfb committed 8da232b on 8.x-1.x
    Issue #2976890 by mfb, Dakwamine: A cache rebuild is needed to anonymize...
mfb’s picture

Status: Active » Fixed

I added a "callback" element so database tables can define a post-scrub action.

dakwamine’s picture

Interesting. Thank you!

Status: Fixed » Closed (fixed)

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