Config : Drupal 7.15 running on a dedicated Ubuntu 10.04.4 LTS server

Hello

I'm facing a weird bug since a few days on the aggregator module of my drupal installation: I've indeed added a rss feed from http://www.affaires-strategiques.info (the feed link is http://www.affaires-strategiques.info/spip.php?page=backend).
First, what I noticed is that the feed was broken, the titles for instance were displaying html tags (eg: <div>Migrations internationales : enjeux et défis</div>)

Second, I noticed all my feeds stopped to be updated... when I checked the cron process manually, I saw there were an error
"PDOException: in aggregator_save_item() (line 156 of /home/www/creaspace7/modules/aggregator/aggregator.processor.inc)."
which stopped the cron to continue updating the feeds

here is the function :

function aggregator_save_item($edit) {
  if ($edit['title'] && empty($edit['iid'])) {
    $edit['iid'] = db_insert('aggregator_item')
      ->fields(array(
        'title' => $edit['title'],
        'link' => $edit['link'],
        'author' => $edit['author'],
        'description' => $edit['description'],
        'guid' => $edit['guid'],
        'timestamp' => $edit['timestamp'],
        'fid' => $edit['fid'],
      ))
      ->execute();
  }

that seems to explain the display of the html tags, I also saw some people also had that issue and resolved it by changing the Title size capacity in the database from 255 to a larger value, I tryied, with no success.

So I decided to remove that rebel feed, that lead to the third and weirdest bug : I deleted the items of that feed and then the feed itself, but when I ran cron, a message told me 'There is new syndicated content from affaires-strategiques.', which I previously deleted...

I tryied to delete my feeds in the database directly, disable, uninstall and enable the aggregator module (which wipe the aggregator tables in the db), that message come back again and again...

I have no other solution, some suggestions?

Thank you!

Comments

dg888’s picture

Issue summary: View changes

code markup added

dcam’s picture

Version: 7.15 » 7.x-dev

Core issues are now filed against the dev versions where changes will be made. Document the specific release you are using in your issue comment. More information about choosing a version.