Under certain circumstances, the common syndication parser generates log warnings when it encounters a feed item with an empty title in a feed.

To reproduce:
1. Create a new feed with the URL:
http://artwash.blogspot.com/feeds/posts/default?alt=rss
2. Check /admin/reports/dblog.
3. You should see some php warnings "..Undefined offset...".

This seems to be a slow-moving feed, so that recipe should work for several months, until the items with empty titles drop off the end of the feed.

The problem is with the _parser_common_syndication_title function and just requires a very simple one-line fix.

A patch is attached. It's my first time making a patch file, so let me know if I've got the directories or anything else wrong!

CommentFileSizeAuthor
CSP_title_fix.patch645 bytesanarchocoder
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

twistor’s picture

Version: 7.x-2.x-dev » 6.x-1.x-dev
Status: Needs review » Patch (to be ported)
twistor’s picture

Status: Patch (to be ported) » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.