Delete All not deleting aliases/paths

marqpdx - August 8, 2008 - 16:42
Project:Delete all
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:by design
Description

I got paranoid and backed up the user table before deleting all, just in case the admin and 0 user got deleted. Probably worth noting that those two users will not be affected.

thanks,
m

#1

Matopos - August 13, 2009 - 09:41
Title:Not Really Delete All; Worth Noting» Delete All not deleting aliases/paths
Version:5.x-1.0» 6.x-1.x-dev
Component:Documentation» Code
Category:feature request» bug report
Priority:minor» normal

I am populating a Drupal installation with some 15,000 nodes pre-formatted by other software. Errors in the data are corrected via that software -- at this stage. Hence it is convenient to re-import corrected nodes, or any nodes, and have them overwrite those already loaded with the same alias (permanently determined outside Drupal).

There is currently no such overwrite option.

For this reason I am using the Delete All function. Having imported nodes, and wanting to re-import them under present circumstances, clearly those already there need to be deleted.

Experimenting with both the Quick option and the Normal option the re-import was rejected with the path being indicated as already in use. On listing content, there are no posts. The issue may be due to the fact that I used the Quick option first and only later used the Normal option -- after having received the path in use error.

#2

vacilando - August 13, 2009 - 10:43

Yep. Seems like path aliases don't get deleted when deleting nodes by content type.
Is there some manual procedure we can use to clear all aliases for a content type before this issue is fixed in the module? Thanks.

#3

kbahey - August 13, 2009 - 15:24
Status:active» by design

Quick mode has the restrictions that you mentioned: namely, it just deletes the node data, nothing else that any other modules have created.

So, this is by desgin. Use normal if you have complex nodes and/or modules.

 
 

Drupal is a registered trademark of Dries Buytaert.