J4 Issue ?
avatar SharkyKZ
SharkyKZ
9 Sep 2019

Steps to reproduce the issue

Create a module that uses the new module dispatcher (#19834). With the following file structure:

Dispatcher
    Dispatcher.php
services
    provider.php
tmpl
    default.php

Try to install it.

Expected result

Module installed.

Actual result

Installation fails with errors:

Module Install: No module file specified.
Error installing module

System information (as much as possible)

4.0-dev

Additional comments

Installer expects mod_whatever.php file to be present and defined in the manifest file.

avatar SharkyKZ SharkyKZ - open - 9 Sep 2019
avatar joomla-cms-bot joomla-cms-bot - change - 9 Sep 2019
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 9 Sep 2019
avatar SharkyKZ SharkyKZ - change - 9 Sep 2019
The description was changed
avatar SharkyKZ SharkyKZ - edited - 9 Sep 2019
avatar franz-wohlkoenig franz-wohlkoenig - change - 9 Sep 2019
Labels Added: J4 Issue
avatar franz-wohlkoenig franz-wohlkoenig - labeled - 9 Sep 2019
avatar franz-wohlkoenig franz-wohlkoenig - change - 9 Sep 2019
Status New Discussion
avatar SharkyKZ
SharkyKZ - comment - 16 Sep 2019

It is actually possible to install such modules by adding module attribute with element to any file or folder within <files> tag. That's not very clear though. We should have a better way of declaring the element in manifest files.

Note, the same applies to plugins since #20547.

avatar SharkyKZ SharkyKZ - change - 25 Mar 2021
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2021-03-25 17:41:46
Closed_By SharkyKZ
avatar SharkyKZ SharkyKZ - close - 25 Mar 2021

Add a Comment

Login with GitHub to post a comment