Views RSS row plugin incorrectly assumes links are relative

Created on 25 October 2017, over 7 years ago
Updated 3 February 2023, about 2 years ago

When I create an RSS Feed view and assign the RSS setting "Link" to my path field added to the View, I'm receiving the following (example):

The website encountered an unexpected error. Please try again later.</br></br><em class="placeholder">InvalidArgumentException</em>: The internal path component &#039;http://cmslocal.gfs.com/en-us/ideas/minding-the-menu-labeling-law&#039; is external. You are not allowed to specify an external URL together with internal:/.

It seems like at some point the "Path" content field within Views now outputs an absolute URL. Or at least it does for me and I can't change it, even with the checkbox "Use absolute link (begins with "http://")" unchecked. Perhaps it's because my project is using the Domain module.

Regardless, I believe the RSS row plugin should allow both absolute and relative. I'm not sure there's a good reason it doesn't?

πŸ› Bug report
Status

Needs work

Version

10.1 ✨

Component
ViewsΒ  β†’

Last updated about 14 hours ago

Created by

πŸ‡ΊπŸ‡ΈUnited States vilepickle Michigan

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024