User tests: Successful: Unsuccessful:
Status | New | ⇒ | Pending |
Category | ⇒ | Front End com_content |
Title |
|
Title |
|
Labels |
Added:
?
|
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2019-02-27 12:58:16 |
Closed_By | ⇒ | bahl24 |
@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.
Status | Closed | ⇒ | New |
Closed_Date | 2019-02-27 12:58:16 | ⇒ | |
Closed_By | bahl24 | ⇒ |
Status | New | ⇒ | Pending |
@infograf768 Kindly test this
Restarted drone
@infograf768 I think there is some issue in 4.0 branch itself as build of many PR is failing.
@infograf768 @alikon Restarted as drone is back on track,kindly test
@infograf768 Kindly test this, I think the changes have been finalised
I have tested this item
I have tested this item
@infograf768 can you please retest?
Status | Pending | ⇒ | Ready to Commit |
RTC
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:
?
|
Thanks!
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 inAbstractView
while it is present inHtmlView
.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.