- πΊπΈUnited States smustgrave
Was tagged for tests in #34 which still needs to happen.
Did not test patch.
- π¬π§United Kingdom omahm Belfast
#42 Patch works for me (9.5.5 PHP 8.1) for a site running the Domain module. One caveat is that if you have Twig debugging enabled the field comments will passed into fromURI() which isn't a problem on production sites.
InvalidArgumentException: The URI ' <!-- THEME DEBUG --> <!-- THEME HOOK: 'views_view_field' --> <!-- BEGIN OUTPUT from 'core/themes/stable/templates/views/views-view-field.html.twig' -->
- πΊπΈUnited States douggreen Winchester, VA
Attached patch is a small code cleanup to not duplicate calling
$this->getField($row_index, $this->options['link_field'])
twice. - πΊπΈUnited States douggreen Winchester, VA
Oops, this fixes a syntax error.
- πΊπΈUnited States recrit
Updated patch with further cleanup of duplicate calls to
$this->getField($row_index, $this->options['link_field'])
- πΊπΈUnited States recrit
The attached patch will fix the errors with twig debugging enabled. Core without this patch would not error but would create urls were invalid - "http://www.mysite.com/%20%3C%21--%20THEME%20DEBUG%20--%3E%20%3C%21--%20T..."
- last update
over 1 year ago 30,365 pass - last update
over 1 year ago 30,365 pass - πΊπΈUnited States recrit
Pending: new test to test an external url used for the RSS link.
- πΊπΈUnited States recrit
The attached patches add the new feed field test to check field configured to output an absolute URL.
- "2918784-55--fix-and-tests.patch": This is the fix from #54 along with the new tests. This should PASS.
- "2918784-55--tests-only.patch": This is 11.x with the new tests. This should FAIL.
- last update
over 1 year ago 30,363 pass, 2 fail - last update
over 1 year ago 30,361 pass, 2 fail - last update
over 1 year ago 30,361 pass - Status changed to Needs review
over 1 year ago 7:22pm 28 September 2023 - last update
over 1 year ago 30,361 pass - last update
over 1 year ago 30,360 pass - Status changed to Needs work
over 1 year ago 5:36pm 1 October 2023 - πΊπΈUnited States smustgrave
Issue summary should be updated, not super clear what the proposed solution is.
Added the template to be filled in by someone familiar with the issue.
Removing tests tag as #56 shows they were added.
- Status changed to Needs review
over 1 year ago 4:38pm 2 October 2023 - Status changed to RTBC
about 1 year ago 7:53pm 5 October 2023 - πΊπΈUnited States smustgrave
Removing IS update tag as that was completed in #59
Following the steps in the IS I was able to reproduce the issue
Patch #58 did solve it, and reran the tests for php8.2 and think failure was unrelated.
Also tests-only patch was provided in #58 that shows the issue.Think this one is good.
- last update
about 1 year ago 30,377 pass - last update
about 1 year ago 30,382 pass - last update
about 1 year ago 30,384 pass - last update
about 1 year ago 30,393 pass - last update
about 1 year ago 30,376 pass, 1 fail The last submitted patch, 56: 2918784-55--fix-and-tests.patch, failed testing. View results β
- last update
about 1 year ago 30,410 pass - last update
about 1 year ago 30,415 pass - last update
about 1 year ago 30,420 pass - last update
about 1 year ago 30,426 pass - last update
about 1 year ago 30,434 pass - last update
about 1 year ago 30,438 pass - last update
about 1 year ago 30,456 pass - last update
about 1 year ago 30,464 pass, 1 fail - last update
about 1 year ago 30,483 pass - last update
about 1 year ago 30,485 pass - last update
about 1 year ago 30,486 pass - last update
about 1 year ago 30,488 pass - last update
about 1 year ago 30,511 pass - Status changed to Needs work
about 1 year ago 11:46pm 10 November 2023 The Needs Review Queue Bot β tested this issue.
While you are making the above changes, we recommend that you convert this patch to a merge request β . Merge requests are preferred over patches. Be sure to hide the old patch files as well. (Converting an issue to a merge request without other contributions to the issue will not receive credit.)
- Merge request !5437Issue #2918784: Views RSS row plugin incorrectly assumes links are relative β (Open) created by recrit
- Status changed to RTBC
about 1 year ago 6:24pm 16 November 2023 - πΊπΈUnited States recrit
created MR 5437 with 2918784-55--fix-and-tests.patch
- Merge request !5438Issue #2918784: Views RSS row plugin incorrectly assumes links are relative β (Open) created by recrit
- Status changed to Needs work
12 months ago 1:20pm 11 January 2024 - πΊπΈUnited States Kasey_MK
I'm getting an error that
You are not allowed to specify an external URL together with internal:/. in Drupal\Core\Url::fromInternalUri()
which is annoying because that's exactly what I want to do: our feeds may link to content on the same domain using theview_node
internal link to content, or on one of our other domains using a link field which may contain an external absolute link.The #15 fix on Improve behavior of RSS view with fields if you enabled "Use absolute link" π Improve behaviour of RSS view with fields if you enabled "Use absolute link" Active lets me mix'n'match as I need to by allowing valid absolute links to pass right through the getAbsoluteUrl function.
There's obviously a lot more going on in this MR but I'm hoping that at the end of the day, I can be allowed to specify external URLs together with internal. Thanks!
- Status changed to Needs review
6 months ago 3:09pm 5 July 2024 - πΊπΈUnited States recrit
the following MR's have been updated per the MR feedback on MR 5438:
11.x: MR 5437
10.1.x: MR 5438 - πΊπΈUnited States recrit
attached a 11.x static patch for composer builds
- πΊπΈUnited States smustgrave
smustgrave β changed the visibility of the branch 2918784-10.1.x to hidden.
- Status changed to Needs work
6 months ago 9:10pm 15 July 2024 - πΊπΈUnited States smustgrave
Hiding the 10.1 so we just have the 11.x MR.
For the comments around using trim() and striptags()
Depending on the views configuration, the $this->getField($row_index, $this->options['link_field']); could return markup.
If this is needed for the fix believe we maybe should have coverage also around when markup is used. To show that it is indeed needed.
Thanks.
- πΊπΈUnited States jennypanighetti
I just upgraded to 10.3.x and it said the patch failed.. which one should I use for 10.3.1?