Closed (fixed)
Project:
Views (for Drupal 7)
Version:
6.x-2.7
Component:
feed displays
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
23 Nov 2009 at 20:34 UTC
Updated:
3 Jan 2014 at 00:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
merlinofchaos commentedHm. I think the rendered feed_icon isn't getting cleared when the view is cloned. In view.inc in the function clone_view() try adding 'feed_icon' to the $keys array and see if that fixes the problem?
Comment #2
Ellen Dee commentedThat did it. Thanks!
Comment #3
dawehnerPerhaps there should be a way for plugins to extend this array.
This patch just fixes this problem.
Comment #4
merlinofchaos commentedWell, the root problem is that there is too much runtime data on the view object. Something I would like to do someday is add a view_instance object that stores runtime data, so the $view itself could be clean. Then cloning a view gets a lot simpler. Plus, you could have several instance objects on a view, if done right.
This fix is committed to all branches.