Download & Extend

Delete joomla records on node / term / user delete

Project:Joomla to Drupal
Version:6.x-1.0-alpha3
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

I am about to do a fair amount of importing (35+ Joomla sites to one Drupal site). And I want to run some import tests. When done, I would (naturally) delete the nodes/users/terms created and then start over.

A generic question comes out of this:

Should we be updating the three {joomla} tables on node/user/term delete? This is an easy patch.

If so, how would we now to clear records from {joomla_section)?

Comments

#1

I see. section ~= vocabulary.

#2

Status:active» needs review

Patch for hook_nodeapi().

AttachmentSize
602526-nodeapi.patch 645 bytes

#3

Status:needs review» needs work

I think this one needs a little more work. If you enable cron imports, then delete a node it will be re-imported on the next cron run.

Probably just need another checkbox on the admin settings page to enable or disable the delete hook with an appropriate explanation of the behaviour.

#4

Status:needs work» closed (fixed)

After deleting everything after your tests, you can easily disable - uninstall - reinstall joomla module and you are good to go.

nobody click here