The best time to register for DrupalCon Dublin is now. Earlybird discounts end July 29.
See #1278760: RSS feed icon should not include contextual filters arguments in link if the feed display does not support contextual filters. Attached patch is a verbatim copy of patch from #5 in the original issue.
Issue #1722348 by jamix: Contextual filters should not be added to feed...
Committed and pushed to 7.x-2.x
Automatically closed - issue fixed for 2 weeks with no activity.
I think it may have been a mistake to roll in a 3-year-old fix verbatim without tests.
I found that my views that DO use arguments started producing rss links like
Where previously I was getting a term ID in the path.
Tracing deep, and comparing the current "7.x-3.8" Views version (not three-year-old -dev version) ofviews_plugin_style_rss::attach_to()
A: there is no such thing as $this->display->display_options['arguments'] to ever check
B: it seems the logic that may have been needed to ensure "Contextual filters should not be added" has been migrated into $view->get_url() so whatever problem this patched solved no longer exists.
I think this needs to come back out!
Using views_rss 7.x-2.0-rc4 or 7.x-2.x-dev
= this is correct.
= this is wrong.
= works again.
Agreed with dman, this patch breaks the contextual filter functionality pretty thoroughly. Tracing out the problem has confirmed that the patch here is no longer relevant, and rolling back to before this change fixes the issue.
Drupal is a registered trademark of Dries Buytaert.