govCMS / GovCMS7

Current stable release of the main Drupal 7 GovCMS distribution, with releases mirrored at https://www.drupal.org/project/govcms
https://www.govcms.gov.au/
GNU General Public License v2.0
113 stars 76 forks source link

Repair broken database sanitisation task #878

Open fubarhouse opened 5 years ago

fubarhouse commented 5 years ago

The tfa_basic module recently introduced prevents any database sanitation tasks from completing successfully. I've upstreamed a new patch to the issue on drupal.org as the existing patch is not compatible.

The tfa_basic module will explicitly attempt to truncate a set of tables regardless of the install state of the tfa_basic module, as well as not checking if the tables exist before doing so.

The patch will check each table exists before performing the same action.

I will be shortly providing output proving the differences in terminal output between the vanilla project which fails, and the applied patch.