? ? ? Pending

User tests: Successful: Unsuccessful:

avatar infograf768
infograf768
2 Nov 2018

Pull Request for Issue #22869 (comment)

Summary of Changes

Correct the link (language included) and the Published/Unpublished status of the Published Request Form Menu Item url, making it totally independent of the site default language when we do have such menu items.
Also when we have no menu item, correcting the Itemid to use the default site language home page one instead of the one set to ALL languages.

Testing Instructions

See #22869 (comment)
Test and test2.
SEF off to see the non-sef url.

After patch

When we have one or multiple menu items:
The url obtained will anyway be the one of the lowest id in case there are multiple menu items of this kind (no change there as we have only one line for an url in the dashboard), but at least:
The Itemid and the language will be the correct ones in case there are multiple menu items, this independantly from the site default language.

Example when there is a fr-FR such menu item

screen shot 2018-11-02 at 08 16 39

Also, when there is NO menu item, the Itemid used will not be anymore the Itemid of the default home page set to ALL languages, but the one of the default home page for the default site language. That is important concerning modules assignment.

Example when French is default language and the French home page Itemid is 105 while the home set to ALL is 101.
Before patch
screen shot 2018-11-02 at 09 54 04

After patch
screen shot 2018-11-02 at 09 52 38

@mbabker

avatar infograf768 infograf768 - open - 2 Nov 2018
avatar infograf768 infograf768 - change - 2 Nov 2018
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 2 Nov 2018
Category Administration
avatar infograf768 infograf768 - change - 2 Nov 2018
The description was changed
avatar infograf768 infograf768 - edited - 2 Nov 2018
avatar jsubri
jsubri - comment - 3 Nov 2018

I have tested this item successfully on 7d2fb99

With the patch the Itemid is now the id of the default site language instead of *
With SEF off: index.php?option=com_privacy&view=request&Itemid=269&lang=fr
With SEF on: index.php/fr/mon-acces/requete-de-confidentialite
If the menu is unpublished,we have the home menu in the site language /index.php?option=com_privacy&view=request&lang=fr&Itemid=101
I tested on mon-lingual, no regression


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/22909.
avatar jsubri jsubri - test_item - 3 Nov 2018 - Tested successfully
avatar viocassel
viocassel - comment - 4 Jan 2019

I have tested this item successfully on 7d2fb99


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

avatar viocassel viocassel - test_item - 4 Jan 2019 - Tested successfully
avatar infograf768 infograf768 - change - 4 Jan 2019
Status Pending Ready to Commit
avatar infograf768
infograf768 - comment - 4 Jan 2019

RTC. Thanks for testing.


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

avatar infograf768
infograf768 - comment - 4 Jan 2019

RTC. Thanks for testing.


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

avatar infograf768 infograf768 - change - 6 Jan 2019
Labels Added: ? ?
avatar infograf768
infograf768 - comment - 6 Jan 2019

No need to ask for new tests. Works fine here.
@mbabker

avatar mbabker mbabker - close - 6 Jan 2019
avatar mbabker mbabker - merge - 6 Jan 2019
avatar mbabker mbabker - change - 6 Jan 2019
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2019-01-06 16:27:14
Closed_By mbabker
Labels Added: ?

Add a Comment

Login with GitHub to post a comment