? ? Pending

User tests: Successful: Unsuccessful:

avatar infograf768
infograf768
2 Mar 2018

Pull Request for Issue #10961
This PR is a redo of #11557

This is correcting the fatal error (for a site in French or multilingual site and using French in frontend.
(The same error will also happen when using another language than English)
Error: Call to undefined method Joomla\CMS\Document\FeedDocument::addHeadLink(): DateTime::__construct(): Failed to parse time string (jeudi 02 novembre 2017) at position 0 (j): The timezone could not be found in the database.

Summary of Changes

Using UNIX to be sure to get a date.

Testing Instructions

Define a default time zone. I tested with Paris.
Choose a non English language as frontend language. French is a good example.
Index smartsearch.
Create a menu item to smart search , make sure Show Feed is set to yes.
screen shot 2018-03-02 at 14 59 46

Display that menu item in frontend and search for example for an article title.
Try to load the feed.

patch and try again.

avatar infograf768 infograf768 - open - 2 Mar 2018
avatar infograf768 infograf768 - change - 2 Mar 2018
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 2 Mar 2018
Category Front End com_finder
avatar infograf768
infograf768 - comment - 2 Mar 2018

For info, the link to the feed will be something like:
http://mydomain.com/smartsearch.feed?q=newarticlefr&type=atom

7ae6d68 4 Mar 2018 avatar infograf768 typo
avatar infograf768 infograf768 - change - 4 Mar 2018
Labels Added: ?
avatar infograf768
infograf768 - comment - 4 Mar 2018

@Quy Done.

avatar Quy
Quy - comment - 5 Mar 2018

I have tested this item successfully on 7ae6d68


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

avatar Quy Quy - test_item - 5 Mar 2018 - Tested successfully
avatar alikon alikon - test_item - 5 Mar 2018 - Not tested
avatar alikon
alikon - comment - 5 Mar 2018

I have tested this item successfully on 7ae6d68


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

avatar alikon alikon - test_item - 5 Mar 2018 - Tested successfully
avatar infograf768 infograf768 - change - 5 Mar 2018
Status Pending Ready to Commit
avatar infograf768
infograf768 - comment - 5 Mar 2018

RTC. Thanks for testing.


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

avatar mbabker mbabker - close - 17 Mar 2018
avatar mbabker mbabker - merge - 17 Mar 2018
avatar mbabker mbabker - change - 17 Mar 2018
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2018-03-17 15:26:58
Closed_By mbabker
Labels Added: ?

Add a Comment

Login with GitHub to post a comment