To reproduce:

  1. Create a View with 2 displays, feed 1 and feed 2.
  2. Use views_embed_view() to output both displays.
  3. Rows from 2nd display will all be blank.

The problem is a static variable in the views_plugin_row_rss_fields::render() function. It assumes that Views will only render a single display before php exits.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

colemanw created an issue. See original summary.

colemanw’s picture

colemanw’s picture

Issue summary: View changes
JKingsnorth’s picture

Status: Active » Needs review
DamienMcKenna’s picture

Out of interest, wouldn't multiple RSS feeds in out output stream result in invalid RSS?

colemanw’s picture

In my use-case I needed to fetch several streams programmatically and hand them off to another service.

bgm’s picture

Status: Needs review » Reviewed & tested by the community

We have been using this patch for a while, without discovering any issues.

Status: Reviewed & tested by the community » Needs work

The last submitted patch, 2: fixStaticVar-2860890-1.patch, failed testing. View results