? ? Success

User tests: Successful: Unsuccessful:

avatar andrepereiradasilva
andrepereiradasilva
7 Sep 2016

Summary of Changes

Improve menu item duplicate alias error message so we don't need to guess which menu item is the one that have duplicate alias.

Before

image

After

image

Testing Instructions

  1. Code review
  2. Apply patch
  3. Try to save two menu items with the same alias so you can view the new error message.

Documentation Changes Required

None.

avatar andrepereiradasilva andrepereiradasilva - open - 7 Sep 2016
avatar andrepereiradasilva andrepereiradasilva - change - 7 Sep 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 7 Sep 2016
Category Language & Strings Administration Libraries
avatar joomla-cms-bot joomla-cms-bot - change - 7 Sep 2016
Labels Added: ? ?
avatar joomla-cms-bot joomla-cms-bot - change - 7 Sep 2016
Labels Removed: ? ?
avatar joomla-cms-bot joomla-cms-bot - change - 7 Sep 2016
Labels Added: ? ?
avatar andrepereiradasilva andrepereiradasilva - change - 7 Sep 2016
The description was changed
avatar C-Lodder C-Lodder - test_item - 7 Sep 2016 - Tested successfully
avatar C-Lodder
C-Lodder - comment - 7 Sep 2016

I have tested this item successfully on

Based on code review


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

avatar brianteeman
brianteeman - comment - 7 Sep 2016

I like the addition to say which menu item clashes
I dont like the rest of the novel that you wrote

avatar andrepereiradasilva
andrepereiradasilva - comment - 7 Sep 2016

the "novel" is an explanation why the error occurs so people can understand, if more people don't like i can remove that part.

avatar brianteeman
brianteeman - comment - 7 Sep 2016

You tried to call x the same as x

That's enough. Now you are naming it there is even less reason to write a
novel

avatar andrepereiradasilva
andrepereiradasilva - comment - 7 Sep 2016

ok @brianteeman you convinced me, removed the "novel".

avatar brianteeman
brianteeman - comment - 7 Sep 2016

Thanks and sorry but now I realise it does need the trashed comment still.
I made a suggestion inline

On 7 September 2016 at 19:31, andrepereiradasilva notifications@github.com
wrote:

ok @brianteeman https://github.com/brianteeman you convinced me,
removed the "novel".


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#11972 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABPH8Yz6e7qSqzSExOyC3pRLJa9rqDeoks5qnwMRgaJpZM4J3B9i
.

Brian Teeman
Co-founder Joomla! and OpenSourceMatters Inc.
http://brian.teeman.net/

avatar brianteeman brianteeman - test_item - 7 Sep 2016 - Tested successfully
avatar brianteeman
brianteeman - comment - 7 Sep 2016

I have tested this item successfully on 11ead3e


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

avatar sonalitailored sonalitailored - test_item - 8 Sep 2016 - Tested successfully
avatar sonalitailored
sonalitailored - comment - 8 Sep 2016

I have tested this item successfully on 11ead3e


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

avatar zero-24 zero-24 - change - 8 Sep 2016
Status Pending Ready to Commit
avatar zero-24
zero-24 - comment - 8 Sep 2016

RTC


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

avatar joomla-cms-bot joomla-cms-bot - change - 8 Sep 2016
Labels Added: ?
avatar truptikagathara truptikagathara - test_item - 8 Sep 2016 - Tested successfully
avatar truptikagathara
truptikagathara - comment - 8 Sep 2016

I have tested this item successfully on 11ead3e


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

avatar rdeutz rdeutz - change - 8 Sep 2016
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2016-09-08 06:11:01
Closed_By rdeutz
Labels Added: ?
avatar infograf768
infograf768 - comment - 8 Sep 2016

I suggest to modify this PR by modifying the string
+JLIB_DATABASE_ERROR_MENU_UNIQUE_ALIAS="The alias <strong>%s</strong> is already being used by <strong>%s</strong> menu item in the <strong>%s</strong> menu (remember it may be a trashed item)."

to
+JLIB_DATABASE_ERROR_MENU_UNIQUE_ALIAS="The alias <strong>%1$s</strong> is already being used by <strong>%2$s</strong> menu item in the <strong>%3$s</strong> menu (remember it may be a trashed item)."

as we have 3 variables that could be confused by TTs in some languages.

avatar joomla-cms-bot joomla-cms-bot - change - 8 Sep 2016
Labels Removed: ?

Add a Comment

Login with GitHub to post a comment