? Success

User tests: Successful: Unsuccessful:

avatar infograf768
infograf768
7 Dec 2016

Summary of Changes

Making a new menu item set to ALL or changing an existing menu item to ALL act differently when the same alias already exists (at Root).

Testing Instructions

On a multingual site, one can use the same alias for menu items in the root of their specific language as long as these menu items are tagged to the specific different languages, NOT including All.
i.e one can have mysite.com/en/isaacnewton and mysite,com/fr/isaacnewton.

To test, create a simple multilingual site
Create in fr-FR a menu item with the alias isaacnewton tagged to fr-FR at the root of the menu.
Create in an en-GB menu a menu item tagged to ALL with the same alias isaacnewton at the root of the menu.
You can't save the menu item. All is good.

Now change the language to en-GB. It saves OK and that is fine.

Now, edit again that menu item and change its language to ALL: it is possible although it should NOT be!

Patch and test again.

In that specific case (changing to ALL), one will get the message:
Save failed with the following error: The alias search is already being used by the search menu item in another menu (remember it may be a trashed item).

We can't use the normal message as it could be confusing by containing the menutype while we change a menu item to ALL in the same menu type.

Documentation Changes Required

None. This is a bug

avatar infograf768 infograf768 - open - 7 Dec 2016
avatar infograf768 infograf768 - change - 7 Dec 2016
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 7 Dec 2016
Category Administration Language & Strings Libraries
avatar infograf768
infograf768 - comment - 7 Dec 2016

@bembelimen @andrepereiradasilva @alikon

Thank you for testing.
Any simplification welcome.

avatar brianteeman
brianteeman - comment - 7 Dec 2016

There are several unrelated language changes in this PR ?

avatar infograf768
infograf768 - comment - 7 Dec 2016

Indeed. The en-GB.lib_joomla.ini file were not in sync. The site one was missing some new strings added by com_fields in the admin one. I have corrected that too. Should have told it in the description.

avatar brianteeman
brianteeman - comment - 7 Dec 2016

Can we please just have one issue in a pr.
http://blog.ploeh.dk/2015/01/15/10-tips-for-better-pull-requests/

Adding unrelated issues in a PR are a guaranteed way to create issues

On 7 December 2016 at 09:19, infograf768 notifications@github.com wrote:

Indeed. The en-GB.lib_joomla.ini file were not in sync. The site one was
missing some new strings added by com_fields in the admin one. I have
corrected that too. Should have told it in the description.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#13112 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABPH8cj2lkdE8UGnJd-SU-syPCGjfFS4ks5rFno3gaJpZM4LGS_M
.

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

avatar infograf768
infograf768 - comment - 7 Dec 2016

This will not create issues at all. I suggest you rather test the PR. Thanks.

avatar brianteeman
brianteeman - comment - 7 Dec 2016

Thats not the point and no I wont

On 7 December 2016 at 09:22, infograf768 notifications@github.com wrote:

This will not create issues at all. I suggest you rather test the PR.
Thanks.


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

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

avatar infograf768 infograf768 - change - 7 Dec 2016
Labels Added: ? ?
avatar andrepereiradasilva
andrepereiradasilva - comment - 8 Dec 2016

@infograf768 see infograf768#48

We can't use the normal message as it could be confusing by containing the menutype while we change a menu item to ALL in the same menu type.

atually we do that in now also in non multilang sites so i don't see an issue to continue with the same message.

avatar joomla-cms-bot joomla-cms-bot - change - 9 Dec 2016
Category Administration Language & Strings Libraries Libraries
avatar infograf768 infograf768 - change - 9 Dec 2016
Labels Removed: ?
avatar infograf768
infograf768 - comment - 9 Dec 2016

@bembelimen @alikon
Please test.

avatar infograf768 infograf768 - change - 10 Dec 2016
Category Libraries Libraries Multilanguage
avatar AlexRed
AlexRed - comment - 10 Dec 2016

I have tested this item successfully on 2a43948

Patch ok.


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

avatar AlexRed AlexRed - test_item - 10 Dec 2016 - Tested successfully
avatar gwsdesk
gwsdesk - comment - 10 Dec 2016

I have tested this item successfully on 2a43948

Works for me nice job


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

avatar infograf768 infograf768 - change - 10 Dec 2016
Status Pending Ready to Commit
avatar gwsdesk gwsdesk - test_item - 10 Dec 2016 - Tested successfully
avatar infograf768
infograf768 - comment - 10 Dec 2016

rtc. thanks


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

avatar zero-24 zero-24 - change - 10 Dec 2016
Milestone Added:
avatar rdeutz rdeutz - change - 11 Dec 2016
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2016-12-11 10:44:12
Closed_By rdeutz
Labels Added: ?
avatar rdeutz rdeutz - close - 11 Dec 2016
avatar rdeutz rdeutz - merge - 11 Dec 2016
avatar rdeutz rdeutz - reference | 067ca63 - 11 Dec 16
avatar rdeutz rdeutz - merge - 11 Dec 2016
avatar rdeutz rdeutz - close - 11 Dec 2016
avatar infograf768 infograf768 - head_ref_deleted - 11 Dec 2016
avatar cpfeifer cpfeifer - reference | fb3e6ba - 22 Dec 16

Add a Comment

Login with GitHub to post a comment