? ? Success

User tests: Successful: Unsuccessful:

avatar andrepereiradasilva
andrepereiradasilva
31 May 2016

Summary of Changes

Simple PR to improve the disable redirect system plugin message in com_redirect.

Before (message is an error and the link is to the plugin list with harcoded text search)
image

After (message is a warning and the link is now to edit the redirect system plugin)
image

Testing Instructions

Code review, or:
1. Use latest staging
2. Disable redirect systme plugin
3. Go to Components -> Redirect and check the error message. Click the link, you'll be redirected to the plugin manager list view with a search.
4. Apply patch
5. Go to Components -> Redirect and check the warning message. Click the link, you'll be redirected to directly edit the redirect plugin.

avatar andrepereiradasilva andrepereiradasilva - open - 31 May 2016
avatar andrepereiradasilva andrepereiradasilva - change - 31 May 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 31 May 2016
Labels Added: ? ?
avatar brianteeman
brianteeman - comment - 31 May 2016

Other than the obvious change from an error to a warning what is the benefit of the code change to stop it being a hard link in the language file? And presumably if accepted you will be doing the same for other hard coded links in language strings.

avatar andrepereiradasilva
andrepereiradasilva - comment - 31 May 2016

what is the benefit of the code change to stop it being a hard link in the language file?

IMO you shouldn't depend on the translate for the links to be correct.
We have ids for the extensions, so we should use it.

And presumably if accepted you will be doing the same for other hard coded links in language strings.

right

avatar brianteeman brianteeman - change - 31 May 2016
Category Language & Strings Templates (admin)
avatar brianteeman brianteeman - change - 31 May 2016
Labels
avatar BurtNL BurtNL - test_item - 31 May 2016 - Tested successfully
avatar BurtNL
BurtNL - comment - 31 May 2016

I have tested this item successfully on a5c8ade


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

avatar infograf768 infograf768 - test_item - 1 Jun 2016 - Tested successfully
avatar infograf768
infograf768 - comment - 1 Jun 2016

I have tested this item successfully on a5c8ade

Indeed, we should manage to use non hardcoded links when possible in language strings.


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

avatar infograf768 infograf768 - change - 1 Jun 2016
Status Pending Ready to Commit
avatar infograf768
infograf768 - comment - 1 Jun 2016

RTC. Thanks.


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

avatar joomla-cms-bot joomla-cms-bot - change - 1 Jun 2016
Labels Added: ?
avatar brianteeman brianteeman - change - 1 Jun 2016
Milestone Added:
avatar roland-d roland-d - change - 1 Jun 2016
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2016-06-01 19:15:03
Closed_By roland-d
avatar roland-d
roland-d - comment - 1 Jun 2016

Thanks everybody

avatar joomla-cms-bot joomla-cms-bot - change - 1 Jun 2016
Labels Removed: ?

Add a Comment

Login with GitHub to post a comment