Cleanup is not cleaning the tables

Carlos Miranda Levy - June 27, 2008 - 19:48
Project:phpBB2Drupal
Version:5.x-3.0
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

Selecting the cleanup option does clear the migration settings, but fails to empty (truncate) the phpbb2drupal tables created in the drupal database while migrating (phpbb2drupal_temp_forum, phpbb2drupal_temp_post, phpbb2drupal_temp_topic, phpbb2drupal_temp_user). I had to empty them manually:

TRUNCATE `phpbb2drupal_temp_forum` ;
TRUNCATE `phpbb2drupal_temp_post` ;
TRUNCATE `phpbb2drupal_temp_topic` ;
TRUNCATE `phpbb2drupal_temp_user` ;

My guess is that since my phpbb forum tables where in a different database, the module tried to empty them in the phpbb database and failed to do it in the drupal database.

Once I truncated them manually, I was able to successfully import a second forum into the same drupal installation.

#1

nbz - June 27, 2008 - 20:48

That behaviour is intentional (on my part anyway, not sure what was the intention of the original) - the data is also used by the phpbb_redirect module.

The best way to get rid of all data is to uninstall and then re-install the module.

Not sure if the behaviour should change.

#2

nbz - June 30, 2009 - 01:16
Status:active» closed
 
 

Drupal is a registered trademark of Dries Buytaert.