Jump to:
| Project: | Feeds |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | minor |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
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!
| Attachment | Size | Status | Test result | Operations |
|---|---|---|---|---|
| CSP_title_fix.patch | 645 bytes | Ignored: Check issue status. | None | None |
Comments
#1
Committed to 7.x
http://drupalcode.org/project/feeds.git/commit/87fd644
#2
6.x
http://drupalcode.org/project/feeds.git/commit/3a347f1
#3
Automatically closed -- issue fixed for 2 weeks with no activity.