? ? ? Pending

User tests: Successful: Unsuccessful:

avatar brianteeman
brianteeman
15 Mar 2017

Summary of Changes

If you go to the Redirects or Smart Search component without the required plugin enabled you will get a message to enable it and the message includes a direct link to the plugin itself.
screenshotr21-38-40

The new Multilingual Associations component had a similar message but there is no link to the plugin

screenshotr21-39-09

After applying this PR the message will change to have a link to the plugin in the message itself.

screenshotr21-58-35

Testing Instructions

Make sure that Items Associations is not enabled in the Language Filter plugin.
Open the Multilingual Associations component
Before the PR the message is just text
After the PR the message includes a link to the Language Filter plugin

Documentation Changes Required

None

avatar brianteeman brianteeman - open - 15 Mar 2017
avatar brianteeman brianteeman - change - 15 Mar 2017
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 15 Mar 2017
Category Administration com_associations Language & Strings
avatar franz-wohlkoenig franz-wohlkoenig - test_item - 16 Mar 2017 - Tested successfully
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 16 Mar 2017

I have tested this item successfully on 194204d


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

avatar brianteeman brianteeman - change - 16 Mar 2017
Labels Added: ? ?
avatar brianteeman
brianteeman - comment - 16 Mar 2017

@alikon i could do but then the code wouldn't be consistent with the two
other uses. If you think it should be changed i think it would be better to
do it in all three places after this pr in a separate pr

On 16 Mar 2017 9:39 a.m., "Nicola Galgano" notifications@github.com wrote:

@alikon requested changes on this pull request.

In administrator/components/com_associations/helpers/associations.php
#14654 (comment):

  • */
  • public static function getLanguagefilterPluginId()
  • {
  • $db    = JFactory::getDbo();
    
  • $query = $db->getQuery(true)
    
  • 	->select($db->quoteName('extension_id'))
    
  • 	->from($db->quoteName('#__extensions'))
    
  • 	->where($db->quoteName('folder') . ' = ' . $db->quote('system'))
    
  • 	->where($db->quoteName('element') . ' = ' . $db->quote('languagefilter'));
    
  • $db->setQuery($query);
    
  • try
    
  • {
    
  • 	$result = (int) $db->loadResult();
    
  • }
    
  • catch (RuntimeException $e)
    

can you use proper exception JDatabaseExceptionExecuting instead of
RuntimeException


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#14654 (review),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABPH8cdD7DAO8SXC1zk9Y3RDi-JHw8Blks5rmQNLgaJpZM4MelfG
.

avatar alikon
alikon - comment - 16 Mar 2017

i've just looked at file diff, and yes can be made on a separate pr

avatar alikon alikon - test_item - 16 Mar 2017 - Tested successfully
avatar alikon
alikon - comment - 16 Mar 2017

I have tested this item successfully on 356db4f


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

avatar infograf768
infograf768 - comment - 16 Mar 2017

don't we have another PR where the same string is changed?
#14623
which already has conflicts

avatar brianteeman
brianteeman - comment - 29 Mar 2017

@infograf768 I have added the change to the string from the other PR into this one as well to remove merge conflicts and will remove it from that PR too - so that this one can be merged.

avatar brianteeman
brianteeman - comment - 18 Apr 2017

@zero-24 done

avatar zero-24 zero-24 - change - 18 Apr 2017
Status Pending Ready to Commit
Labels
avatar zero-24
zero-24 - comment - 18 Apr 2017

RTC


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

avatar brianteeman brianteeman - change - 18 Apr 2017
Labels Added: ?
avatar jreys
jreys - comment - 9 May 2017

I have tested this item successfully on 177e1ed


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

avatar jreys jreys - test_item - 9 May 2017 - Tested successfully
avatar infograf768
infograf768 - comment - 9 May 2017

it is already rtc for 3.7.2 ?

avatar rdeutz rdeutz - change - 22 May 2017
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2017-05-22 18:54:34
Closed_By rdeutz
avatar rdeutz rdeutz - close - 22 May 2017
avatar rdeutz rdeutz - merge - 22 May 2017
avatar brianteeman
brianteeman - comment - 22 May 2017

Thanks

Add a Comment

Login with GitHub to post a comment