No Code Attached Yet Information Required
avatar maxer77
maxer77
24 Dec 2023

When Joomla added module to articles feature, firstly was code
{loadmodule mod_custom,[module title]}
Later was changed to
{loadmoduleid [ID}}
Long time ago, I discovered problem with module displays. When old code a module, exists few times ia duplicated. This bug exists only for J4,not for J5

Steps to reproduce the issue

  1. Create new custom module and add small image for example. Set "Github" for title.
    github1
  2. To new article, paste this code

Text 1

{loadmodule mod_custom,Github}

Text 2

{loadmodule mod_custom,Github}

Text 3

{loadmodule mod_custom,Github}

Expected result

github3

Actual result

Double view of module for default template:
github2

System information (as much as possible)

10.6.15-MariaDB-cll-lve
PHP Version 8.1.26
Web Server | LiteSpeed

Joomla! Version | Joomla! 4.4.1 Stable [ Pamoja ] 28-November-2023 16:00 GMT

Additional comments

avatar maxer77 maxer77 - open - 24 Dec 2023
avatar joomla-cms-bot joomla-cms-bot - change - 24 Dec 2023
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 24 Dec 2023
avatar chmst
chmst - comment - 6 Jan 2024

I remember this one #12888 could be a duplicate

avatar alikon
alikon - comment - 7 Jan 2024

should be fixed by #38582 starting from Joomla! 4.2.3

avatar Fedik
Fedik - comment - 7 Jan 2024

I cannot reproduce it.
Please make sure that one of installed extension does not override ModuleHelper class from libraries/src/Helper/ModuleHelper.php file.
There some extensions that doing it.

avatar Quy Quy - change - 8 Jan 2024
Labels Added: Information Required
avatar Quy Quy - labeled - 8 Jan 2024
avatar Quy Quy - change - 5 Feb 2024
Status New Closed
Closed_Date 0000-00-00 00:00:00 2024-02-05 20:41:54
Closed_By Quy
avatar Quy Quy - close - 5 Feb 2024
avatar Quy
Quy - comment - 5 Feb 2024

Closing as not reproducible and no followup response.

Add a Comment

Login with GitHub to post a comment