RTC PBF bug PR-4.4-dev Pending

User tests: Successful: Unsuccessful:

avatar Hackwar
Hackwar
24 Jan 2024

Pull Request for Issue #38631 .

Summary of Changes

The feed parser for Atom feeds is selecting the wrong link as described in the original issue.

Testing Instructions

Copied from the original issue:

  1. Create new Feed Display module
  2. Set Feed URL to a Blogger Atom Feed eg https://www.failureasaservice.com/feeds/posts/default

Actual result BEFORE applying this Pull Request

Link is created using the first entry <link rel="replies"> which is an XML feed and not useful for normal users who just want to jump over to your post on Blogger.com.

<link rel="replies" type="application/atom+xml" href="https://www.failureasaservice.com/feeds/921417709640098202/comments/default" title="Post Comments"/>
    <link rel="replies" type="text/html" href="https://www.failureasaservice.com/2020/10/amd-killed-arm-in-data-center.html#comment-form" title="0 Comments"/>
    <link rel="edit" type="application/atom+xml" href="https://www.blogger.com/feeds/3991757369876144735/posts/default/921417709640098202"/>
    <link rel="self" type="application/atom+xml" href="https://www.blogger.com/feeds/3991757369876144735/posts/default/921417709640098202"/>
    <link rel="alternate" type="text/html" href="https://www.failureasaservice.com/2020/10/amd-killed-arm-in-data-center.html" title="AMD Killed ARM in the Data Center"/>

Expected result AFTER applying this Pull Request

Links should use the <link rel="alternate"> entry creating a clickable jump back to the Blogger page.

Link to documentations

Please select:

  • Documentation link for docs.joomla.org:

  • No documentation changes for docs.joomla.org needed

  • Pull Request link for manual.joomla.org:

  • No documentation changes for manual.joomla.org needed

avatar Hackwar Hackwar - open - 24 Jan 2024
avatar Hackwar Hackwar - change - 24 Jan 2024
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 24 Jan 2024
Category Libraries
avatar fgsw
fgsw - comment - 26 Jan 2024

image

Without the pr a click on 'FaaS - Failure as a Service' and 'AMD Killed ARM in the Data Center' opens

image

PR applied only the first link opens the above window.

avatar tomsrocket tomsrocket - test_item - 24 Feb 2024 - Tested successfully
avatar tomsrocket
tomsrocket - comment - 24 Feb 2024

I have tested this item ✅ successfully on 231e360

The links on the feed headlines go to the article html pages. that is good.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/42706.

avatar TLWebdesign
TLWebdesign - comment - 24 Feb 2024

Hi @Hackwar i'm testing this PR but i don't see a change in the dom of the urls of the blog items in the feed. they all have rel="noopener" even after applying the patch. But i do notice a change in behaviour as that now it opens the actual article instead of the feed link when clicking on the items. Seems like a half successfull test no?

Scherm­afbeelding 2024-02-24 om 12 26 30
avatar Hackwar
Hackwar - comment - 24 Feb 2024

@TLWebdesign that is the expected behavior, so your test would be successfull.

avatar TLWebdesign TLWebdesign - test_item - 24 Feb 2024 - Tested successfully
avatar TLWebdesign
TLWebdesign - comment - 24 Feb 2024

I have tested this item ✅ successfully on 231e360

Tested successfully


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/42706.

avatar richard67 richard67 - change - 24 Feb 2024
Status Pending Ready to Commit
avatar richard67
richard67 - comment - 24 Feb 2024

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/42706.

avatar MacJoom MacJoom - change - 28 Feb 2024
Labels Added: RTC PBF bug PR-4.4-dev
avatar MacJoom MacJoom - change - 4 Mar 2024
Labels Added: Updates Requested
avatar MacJoom MacJoom - change - 4 Mar 2024
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2024-03-04 16:01:43
Closed_By MacJoom
Labels Removed: Updates Requested
avatar MacJoom MacJoom - close - 4 Mar 2024
avatar MacJoom MacJoom - merge - 4 Mar 2024
avatar MacJoom
MacJoom - comment - 4 Mar 2024

Thank you!

Add a Comment

Login with GitHub to post a comment