? Success

User tests: Successful: Unsuccessful:

avatar infograf768
infograf768
2 Oct 2015

replaces #7901 which had conflicts

Test:
Create a multilanguage site (2 languages are enough).
Make sure you have 1 category and 1 subcategory per language (test with com_content for example)

Create a List All Categories menu item with base set to ROOT in each language.

Display the menu item in frontend: the categories not belonging to the current language will be displayed.
Their article count is 0 and clicking on the + icon has no effect.
Clicking on their title will fail to display the category as it keeps the wrong URL Language Code which is the one of the Current language.
In the screenshot below the link to "English Categories" is /index.php?option=com_content&view=category&id=10&Itemid=622&lang=fr as we are in the French interface.

Result:
screen shot 2015-09-17 at 12 06 43

Patch and test again:, you will get.
screen shot 2015-09-17 at 12 09 27

This patch also normalises the urls in default_items as done elsewhere in core. It has no impact on the results when the categories are filtered.

@fontanil @gwsdesk please test again

avatar infograf768 infograf768 - open - 2 Oct 2015
avatar infograf768 infograf768 - change - 2 Oct 2015
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 2 Oct 2015
Labels Added: ?
497ebd1 2 Oct 2015 avatar infograf768 oops
avatar fontanil
fontanil - comment - 2 Oct 2015

@test
Tested on last staging: it's OK for me. Thanks

avatar infograf768 infograf768 - alter_testresult - 2 Oct 2015 - fontanil: Tested successfully
avatar zero-24 zero-24 - change - 2 Oct 2015
Category Multilanguage
avatar gwsdesk
gwsdesk - comment - 11 Oct 2015

JM,
@test
Works for me as explained. Thanks JM

avatar zero-24 zero-24 - alter_testresult - 11 Oct 2015 - gwdesk: Tested successfully
avatar zero-24 zero-24 - change - 11 Oct 2015
Status Pending Ready to Commit
avatar zero-24
zero-24 - comment - 11 Oct 2015

RTC based on Tests. Thanks


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

avatar joomla-cms-bot joomla-cms-bot - change - 11 Oct 2015
Labels Added: ?
avatar zero-24 zero-24 - change - 11 Oct 2015
Milestone Added:
avatar rdeutz rdeutz - reference | 1a5c6c8 - 11 Oct 15
avatar rdeutz rdeutz - merge - 11 Oct 2015
avatar rdeutz rdeutz - close - 11 Oct 2015
avatar rdeutz rdeutz - change - 11 Oct 2015
Status Ready to Commit Closed
Closed_Date 0000-00-00 00:00:00 2015-10-11 07:30:53
Closed_By rdeutz
avatar rdeutz rdeutz - close - 11 Oct 2015
avatar joomla-cms-bot joomla-cms-bot - close - 11 Oct 2015
avatar joomla-cms-bot joomla-cms-bot - change - 11 Oct 2015
Labels Removed: ?
avatar infograf768 infograf768 - reference | 3b59a6b - 16 Oct 15
avatar infograf768
infograf768 - comment - 16 Oct 2015

Sorry folks, this has broken categories associations => regression.
New PR here:
#8098

avatar roland-d roland-d - reference | 3c88269 - 17 Oct 15
avatar zero-24 zero-24 - change - 28 Oct 2015
Milestone
avatar zero-24 zero-24 - change - 28 Oct 2015
Milestone Added:
avatar zero-24 zero-24 - change - 28 Oct 2015
Milestone Added:
avatar zero-24 zero-24 - change - 28 Oct 2015
Milestone

Add a Comment

Login with GitHub to post a comment