? Success

User tests: Successful: Unsuccessful:

avatar infograf768
infograf768
6 Nov 2014

Same issue as in #4994 which was merged and solved the pathway if in the _menu table the row mainmenu with Home set to Language All, i.e. *, is deleted.

See specifically the comment #4994 (comment)
To test use a multilang site, delete the said menu item.
Create a tag and apply to some articles. Display these articles once at least in frontend.
Create a Popular Tags module and display in frontend.
As $menu->getDefault() does not exist, you will get many notices including
Notice: Trying to get property of non-object in ROOT\modules\mod_menu\helper.php on line 40

Patch and retest

avatar infograf768 infograf768 - open - 6 Nov 2014
avatar jissues-bot jissues-bot - change - 6 Nov 2014
Labels Added: ?
avatar infograf768 infograf768 - change - 6 Nov 2014
Category Multilanguage
avatar waader
waader - comment - 6 Nov 2014

@test Success!

Remark: I found another problem that is related to this test case - the deleted row in the _menu table:

  • create an archived article; in my case I have english and german installed as languages and assigned german to the archived article
  • publish the "archived module" in the frontend
  • select the article from the "archived module"
  • go to the language switcher and select the language of the archived article - in my case: german

You should experience an 404 error.

avatar infograf768
infograf768 - comment - 6 Nov 2014

Although unrelated to this PR, please explain further the issue with archived article. What do you mean by

select the article from the "archived module"

Here, even if I create an archived articles module set to ALL languages, it will display a month link if any archived article is set to the displayed language. Clicking on the link will display the article OK.

What does not work is the association between 2 archived articles. In that case, one is redirected to the home page for the language chosen in the switcher

avatar infograf768
infograf768 - comment - 6 Nov 2014

Oops, did not test when the row is deleted.
Will do now

avatar infograf768
infograf768 - comment - 6 Nov 2014

I confirm the 404 when clicking on the flag for the language concerned when the archived article is displayed.
Instead of getting for example
/index.php/fr/home-fr-fr/2014?view=archive&month=11 (the link in the archived module)
or
/index.php/fr/
we get
/index.php/fr/home-fr-fr/2014

As my test was wrong in #5002 (comment)
I confirm we have the same issue when the row is not deleted

avatar fontanil
fontanil - comment - 6 Nov 2014

@test
PR works for me
Thanks

avatar infograf768
infograf768 - comment - 6 Nov 2014

Thanks for testing. Merging.

avatar infograf768 infograf768 - change - 6 Nov 2014
Milestone Added:
avatar infograf768 infograf768 - reference | 86c99cb - 6 Nov 14
avatar infograf768 infograf768 - merge - 6 Nov 2014
avatar infograf768 infograf768 - close - 6 Nov 2014
avatar infograf768 infograf768 - close - 6 Nov 2014
avatar infograf768 infograf768 - change - 6 Nov 2014
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2014-11-06 16:16:33
avatar infograf768 infograf768 - head_ref_deleted - 12 Nov 2015

Add a Comment

Login with GitHub to post a comment