Closed (fixed)
Project:
FeedAPI
Version:
6.x-1.4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Oct 2008 at 03:26 UTC
Updated:
10 Nov 2008 at 10:02 UTC
Jump to comment: Most recent file
This patch fixes loads of "Undefined property: stdClass::$feed" (and consequent "Trying to get property of non-object") warnings from line 84 in feedapi_node/feedapi_node.module.
The problem was occurring on the feed-item/%nid screen, and was due to feedapi_node_link() getting invoked for each and every 'story' node in the list, said nodes of course not actually having a $node->feed property, which resulted in two warnings per node shown on that page (in other words, a lot of warnings).
You can find a screenshot of the warnings at http://skitch.com/bendiken/38eh/feedapi-feedapi-node-bug
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 324001_feedapi_node.patch | 915 bytes | Arto |
Comments
Comment #1
Arto commentedThis patch applies cleanly against both 6.x-1.x-dev and 6.x-1.4.
Comment #2
karens commentedI needed this patch to get the iCal parser to create nodes working without errors.
Comment #3
aron novakThank you for providing fully baked patch. This is committed.
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.