?
avatar infograf768
infograf768
30 Sep 2016

Make sure the Smartsearch Content plugin is disabled
Then go to
/administrator/index.php?option=com_finder&view=index

The message is repeated twice, and the first one is not a correct link.
screen shot 2016-09-30 at 11 21 15

It is /administrator/%s instead of /administrator/index.php?option=com_plugins&task=plugin.edit&extension_id=441

Looked at history and could not find when this code was introduced.
see: https://github.com/joomla/joomla-cms/blob/3.7.x/administrator/components/com_finder/views/index/view.html.php#L87-L105

obviously, as the string needs a sprintf,

if (!$this->pluginState['plg_content_finder']->enabled)
        {
            JFactory::getApplication()->enqueueMessage(JText::_('COM_FINDER_INDEX_PLUGIN_CONTENT_NOT_ENABLED'), 'warning');
        }

is wrong.

But, I do not understand why the same message would anyway be repeated twice...

avatar infograf768 infograf768 - open - 30 Sep 2016
avatar zero-24
zero-24 - comment - 30 Sep 2016

hmm i think it is a conflict with this: 379b513 and a later change. I would suggest to just remove the first check so we have the same code as in staging: https://github.com/joomla/joomla-cms/blob/staging/administrator/components/com_finder/views/index/view.html.php#L95-L103 (with the link included and sprintf)

avatar zero-24 zero-24 - change - 30 Sep 2016
Labels Added: ?
avatar zero-24 zero-24 - change - 30 Sep 2016
Category Administration UI/UX
avatar zero-24 zero-24 - change - 30 Sep 2016
Status New Confirmed
avatar infograf768
infograf768 - comment - 30 Sep 2016

can you make patch?

avatar zero-24
zero-24 - comment - 30 Sep 2016

done

avatar zero-24 zero-24 - change - 30 Sep 2016
Status Confirmed Closed
Closed_Date 0000-00-00 00:00:00 2016-09-30 19:45:15
Closed_By zero-24
avatar zero-24 zero-24 - close - 30 Sep 2016

Add a Comment

Login with GitHub to post a comment