?
avatar ceford
ceford
7 Sep 2020

Steps to reproduce the issue

In a mult-lingual site with sample data:
Go to Content -> Categories and select Uncategorised
In the Category edit form set Language to All.
Select the Associations button in the Toolbar - There is a Notice
Select the Help button in the Toolbar

Expected result

A Help page popup

Actual result

A 404 popup

System information (as much as possible)

Additional comments

The Help key is shown in the popup url bar: JHELP_COMPONENTS__CATEGORY_EDIT
I think it should be JHELP_COMPONENTS_CONTENT_CATEGORY_EDIT

avatar ceford ceford - open - 7 Sep 2020
avatar joomla-cms-bot joomla-cms-bot - labeled - 7 Sep 2020
avatar Formatio-hippocampi
Formatio-hippocampi - comment - 8 Sep 2020

confirmed.

avatar brianteeman
brianteeman - comment - 8 Sep 2020

In that very specific circumstance I can confirm the problem
No idea how to fix it myself but its probably

// Compute the ref_key
$ref_key = strtoupper($component . ($section ? "_$section" : '')) . '_CATEGORY_' . ($isNew ? 'ADD' : 'EDIT') . '_HELP_KEY';
// Check if the computed ref_key does exist in the component
if (!$lang->hasKey($ref_key))
{
$ref_key = 'JHELP_COMPONENTS_'
. strtoupper(substr($component, 4) . ($section ? "_$section" : ''))
. '_CATEGORY_' . ($isNew ? 'ADD' : 'EDIT');
}

avatar ceford
ceford - comment - 9 Sep 2020

I think the situation is worse than I thought. After selecting the Associations button in the Toolbar with Languages set to All (I keep forgetting to do that) the page comes back with this in the url bar:
http://localhost/j4b4d/administrator/index.php?option=com_categories&view=category&layout=edit&id=2com_content
so it has lost the extension= before com_content. The other buttons should not work properly either, although they appear to.

avatar ceford ceford - change - 9 Sep 2020
Status New Closed
Closed_Date 0000-00-00 00:00:00 2020-09-09 11:06:09
Closed_By ceford
avatar ceford ceford - close - 9 Sep 2020
avatar ceford
ceford - comment - 9 Sep 2020

I have resubmitted this as #30603

Add a Comment

Login with GitHub to post a comment