Hi.

I've created a view with an RSS feed. Set the various fields to show what I want.

In the VIEW preview, the RSS xml shows everything correctly.

However, in the actual xml page itself, the "description" piece has no content.

As the preview shows the "description" content correctly, this would appear to be a bug.

Thanks.

Comments

dwbotsch created an issue. See original summary.

vivekguptakota’s picture

Status: Active » Needs review

I tried the same steps but I am getting description field value.
Can u please explain in details with screen shots.

lendude’s picture

Status: Needs review » Postponed (maintainer needs more info)

Can you give extra information about what the 'description' field is? What entity type are you displaying in your View?

Anonymous’s picture

could you please explain in details.

drupgirl’s picture

Version: 8.3.5 » 8.6.7
Priority: Normal » Major

This issue is a known problem and you can find lots of info/discussion in both the D8 core aggregator and views issue queues. If html/email addresses are used in an RSS feed they are stripped out and when you try to put your feed into a validator you will only see <description/>, same for the title field.

To replicate simply build a view that has a user email address for the description (or title) field. There is a patch that enable the content to appear in the rss.xml, but when you get to the validator the content will not be there.

Version: 8.6.7 » 8.6.x-dev

Core issues are now filed against the dev versions where changes will be made. Document the specific release you are using in your issue comment. More information about choosing a version.

Version: 8.6.x-dev » 8.9.x-dev

Drupal 8.8.7 was released on June 3, 2020 and is the final full bugfix release for the Drupal 8.8.x series. Branches prior to 8.8.x are not supported, and Drupal 8.8.x will not receive any further development aside from security fixes. Sites should prepare to update to Drupal 8.9.0 or Drupal 9.0.0 for ongoing support.

Bug reports should be targeted against the 8.9.x-dev branch from now on, and new development or disruptive changes should be targeted against the 9.1.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

pameeela’s picture

@drupgirl do you think this issue is a duplicate of the others you mentioned? The issue summary doesn't mention emails or HTML, but if there is already an issue to cover that scenario I think we should close this? I couldn't find one specifically but this isn't an area I'm super familiar with so I may not have known what to look for.

pameeela’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)
Issue tags: +Bug Smash Initiative