I recently upgraded from 4.6 to 4.7 and installed the CVS version of aggregator2. I noticed all my aggregator2 feeds and feed items no longer had node type data associated, and the feed items didn't have things like the feed image associated anymore. Looking at admin/node, my old items had no node type name. I believe the name of the feeds was changed from aggregator2-feed to feed item, and aggregator2-item to feed item, however the node/add urls stayed the same. If these nodes will now have a new name, there should be an update (hopefully within Drupals new update system) that changes all past feeds and items from the old name to the new ones.

I also noticed that I do have a link for new "feeds" on the node/add page, but none for "feed items." Thanks for all the good work on this module.

Comments

zis’s picture

Status: Active » Needs review

I experienced the same thing.
The problem is that in 4.6, in the node tables the type is set to `aggregator2-feed` and `aggregator2-item`.(Notice the dash).

In 4.7, the type changes to `aggregator2_feed` and `aggregator2_item` . (notice the underscore.)

To update your database, execute these two queries:

To update the feed item nodes.

UPDATE `node` SET `type` = 'aggregator2_item' WHERE `type` = 'aggregator2-item'

To update the feed nodes.

UPDATE `node` SET `type` = 'aggregator2_feed' WHERE `type` = 'aggregator2-feed'
ahwayakchih’s picture

Assigned: Unassigned » ahwayakchih
Status: Needs review » Fixed

Added queries to .install file update function.
Thanks.

ahwayakchih’s picture

Status: Fixed » Closed (fixed)