Global cache OFF
insert mod_custom with ShowTitle->on Cache->off in footer
insert the same module with a {loadmoduleid xxx} into the page article.
I expect one title for every module.
The second module is render with 2 titles. Third time the module is render, 3 title. The html content of the module is replaced with the render of the first time the module has been rendered
not dependent
I have replaced from line 234 of /libraries/src/Helper/ModuleHelper.php
and it works (maybe the cache doesn't work):
234- foreach (explode(' ', $attribs['style']) as $style)
{
if ($moduleContent = LayoutHelper::render('chromes.' . $style, $displayData, $basePath))
{
$modulecontent = $moduleContent; //this is originally $module->content=...
}
}
// Revert the scope
$app->scope = $scope;
$app->triggerEvent('onAfterRenderModule', array(&$module, &$attribs));
if (JDEBUG)
{
Profiler::getInstance('Application')->mark('afterRenderModule ' . $module->module . ' (' . $module->title . ')');
}
return $modulecontent;
Labels |
Removed:
?
|
Labels |
Added:
No Code Attached Yet
|
Labels |
Added:
J4 Issue
bug
|
Labels |
Added:
J3 Issue
|
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2022-08-23 18:35:46 |
Closed_By | ⇒ | alikon |
Thank you for raising this issue.
Joomla 3 is now in security only mode with no further bug fixes or new features.
I have however created a pull request for joomla 4 to fix this. #38571