From: Kevin <ke...@dr...> - 2006-07-19 19:47:03
|
> Miles Beck wrote: >> Heh, the above error is I think happening due to my database being >> wiped out when I delete the category. I just tried deleting the >> category again with a restored version of my DB and I no longer have >> any feeds when I delete the category. So the error above comes after >> the DB is wiped out. > > Hrm, I think that's odd. I hope when you delete a category normally it > doesn't delete the associated feeds. The feeds should just point to > "None". That will have to be tested. The feeds don't get deleted, they are just *hidden* from the application.= =20 In the SQL queries for feeds and items, an inner join is used to pull in the category name. If the category_id does not exist, that feed/item is not included in the result. I left a TODO in the category remove method to reset all feeds to the Non= e category when a category is deleted. I haven't done it yet. --=20 Kevin |