?
avatar Scrabble96
Scrabble96
3 Sep 2020

Steps to reproduce the issue

Create a new template in J4 with a module of same name as one in Cassiopeia, e.g. 'breadcrumbs'
Create two modules, one assigned to the 'breadcrumbs' position in Cassiopeia, one to the 'breadcrumbs' position in the new template.

Expected result

Only one of these modules should appear in either rendering.

Actual result

Both modules are displayed:

breadcrumbs

It happens whichever template is assigned as default.

System information (as much as possible)

Joomla 4 Beta 3 and also Joomla 4 Beta 4 nightly from 02/09/2020.

Additional comments

I appreciate that in the end it is unlikely that anyone would assign two modules of the same name and type to the same page, but for testing purposes, it's a bit confusing.

avatar Scrabble96 Scrabble96 - open - 3 Sep 2020
avatar joomla-cms-bot joomla-cms-bot - change - 3 Sep 2020
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 3 Sep 2020
avatar Scrabble96 Scrabble96 - change - 3 Sep 2020
The description was changed
avatar Scrabble96 Scrabble96 - edited - 3 Sep 2020
avatar brianteeman
brianteeman - comment - 3 Sep 2020

If I am not mistaken this has always been the case and its actually really useful if templates use the same position names. Otherwise when you change the site template you would have to change all your modules

avatar Scrabble96
Scrabble96 - comment - 4 Sep 2020

Otherwise when you change the site template you would have to change all your modules

You may have a point, but having said that, the module names for the new J4 Cassiopeia template are totally different from those of Protostar with the only names in common being 'banner' and 'debug'.

avatar brianteeman
brianteeman - comment - 4 Sep 2020

My point still stands. This is also why the UI just displays the module position and not the module position and template

avatar brianteeman
brianteeman - comment - 3 Oct 2020

This should be closed as the intended and expected behaviour

avatar Scrabble96 Scrabble96 - change - 3 Oct 2020
Status New Closed
Closed_Date 0000-00-00 00:00:00 2020-10-03 11:06:49
Closed_By Scrabble96
avatar Scrabble96 Scrabble96 - close - 3 Oct 2020

Add a Comment

Login with GitHub to post a comment