? ? Success

User tests: Successful: Unsuccessful:

avatar bahl24
bahl24
26 Feb 2019

Pull Request for Issue - Syndication Module in frontend not working .

Testing Instructions

screenshot from 2019-02-27 03-13-06
Click on any RSS button to get an error

Expected result

screenshot from 2019-02-27 03-14-42
XML version

Actual result

Error

avatar bahl24 bahl24 - open - 26 Feb 2019
avatar bahl24 bahl24 - change - 26 Feb 2019
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 26 Feb 2019
Category Front End com_content
avatar infograf768
infograf768 - comment - 27 Feb 2019

This is only broken for the featured view with error
Call to undefined method Joomla\Component\Content\Site\View\Featured\FeedView::escape()
Due to the fact that escape() is not present in AbstractView while it is present in HtmlView.

I tested this OK and also if I replace the line by
$title = htmlspecialchars($row->title, ENT_QUOTES, 'UTF-8');

Note that feedview for a category (blog) is extending HtmlView where we do have $title = $this->escape($item->$titleField);

No idea if the correct solution is to mimick CategoryFeedView for featured view or not.

avatar infograf768 infograf768 - change - 27 Feb 2019
Title
[4.0]added rss feed func
[4.0] Featured view: corrected rss feed func
avatar infograf768 infograf768 - edited - 27 Feb 2019
avatar infograf768 infograf768 - change - 27 Feb 2019
Title
[4.0]added rss feed func
[4.0] Featured view: corrected rss feed func
avatar bahl24 bahl24 - close - 27 Feb 2019
avatar bahl24 bahl24 - change - 27 Feb 2019
Labels Added: ?
avatar bahl24 bahl24 - change - 27 Feb 2019
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2019-02-27 12:58:16
Closed_By bahl24
avatar bahl24 bahl24 - close - 27 Feb 2019
avatar bahl24 bahl24 - close - 27 Feb 2019
avatar bahl24 bahl24 - close - 27 Feb 2019
avatar bahl24
bahl24 - comment - 27 Feb 2019

@infograf768 I have made the changes you suggested and escape function is the same as return htmlspecialchars($var, ENT_QUOTES, $this->_charset); so it doesn't matter and seems correct to me.

avatar bahl24 bahl24 - reopen - 27 Feb 2019
avatar bahl24 bahl24 - change - 27 Feb 2019
Status Closed New
Closed_Date 2019-02-27 12:58:16
Closed_By bahl24
avatar bahl24 bahl24 - change - 27 Feb 2019
Status New Pending
avatar bahl24 bahl24 - reopen - 27 Feb 2019
avatar bahl24
bahl24 - comment - 27 Feb 2019

@alikon Kindly test this

avatar bahl24
bahl24 - comment - 1 Mar 2019

@infograf768 Kindly test this

avatar infograf768
infograf768 - comment - 1 Mar 2019

Restarted drone

avatar bahl24
bahl24 - comment - 1 Mar 2019

@infograf768 I think there is some issue in 4.0 branch itself as build of many PR is failing.

avatar bahl24
bahl24 - comment - 6 Mar 2019

@infograf768 @alikon Restarted as drone is back on track,kindly test

avatar bahl24
bahl24 - comment - 9 Mar 2019

@infograf768 Kindly test this, I think the changes have been finalised

avatar infograf768
infograf768 - comment - 10 Mar 2019

I have tested this item successfully on 41c00b8


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

avatar infograf768 infograf768 - test_item - 10 Mar 2019 - Tested successfully
avatar bahl24
bahl24 - comment - 28 Mar 2019

@Quy @alikon Kindly test

avatar SharkyKZ
SharkyKZ - comment - 9 Aug 2019

I have tested this item successfully on 540dd2f


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

avatar SharkyKZ SharkyKZ - test_item - 9 Aug 2019 - Tested successfully
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 9 Aug 2019

@infograf768 can you please retest?

avatar Quy Quy - change - 10 Aug 2019
Status Pending Ready to Commit
avatar Quy
Quy - comment - 10 Aug 2019

RTC


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

avatar wilsonge wilsonge - close - 18 Aug 2019
avatar wilsonge wilsonge - merge - 18 Aug 2019
avatar wilsonge wilsonge - change - 18 Aug 2019
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2019-08-18 23:31:03
Closed_By wilsonge
Labels Added: ?
avatar wilsonge
wilsonge - comment - 18 Aug 2019

Thanks!

Add a Comment

Login with GitHub to post a comment