J3 Issue ?
avatar SharkyKZ
SharkyKZ
22 Jul 2019

Steps to reproduce the issue

Issue # 1:

Develop a module with a configuration field that uses com_ajax (e.g. to dynamically retrieve options based on other field values).
Install the module and create a module instance.
Disable the module extension.
Edit the module in backend.

Issue # 2:

Disable site's Feed Display module in Extension Manager.
Enter this URL: administrator/index.php?option=com_ajax&module=feed&format=json

Expected result

Issue # 1: Module can be configured normally.

Issue # 2: Fails with message:

Method getAjax does not exist

Actual result

Issue # 1: Ajax-based field doesn't work with error message:

Module mod_example is not published, you do not have access to it, or it's not assigned to the current menu item.

Issue # 2: Fails with message:

Module mod_feed is not published, you do not have access to it, or it's not assigned to the current menu item.

System information (as much as possible)

3.9.11-dev.

Additional comments

For issue # 1 I think we shouldn't block the use of Ajax when module is disabled. This should really be left up to the module based on its use case.

If issue # 1 is fixed, issue # 2 is fixed automatically. Otherwise, we need to implement client filter. But that should be based on URL parameter rather than on current client.

avatar SharkyKZ SharkyKZ - open - 22 Jul 2019
avatar joomla-cms-bot joomla-cms-bot - change - 22 Jul 2019
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 22 Jul 2019
avatar SharkyKZ SharkyKZ - change - 22 Jul 2019
The description was changed
avatar SharkyKZ SharkyKZ - edited - 22 Jul 2019
avatar SharkyKZ SharkyKZ - change - 22 Jul 2019
The description was changed
avatar SharkyKZ SharkyKZ - edited - 22 Jul 2019
avatar franz-wohlkoenig franz-wohlkoenig - change - 22 Jul 2019
Labels Added: J3 Issue
avatar franz-wohlkoenig franz-wohlkoenig - labeled - 22 Jul 2019
avatar franz-wohlkoenig franz-wohlkoenig - change - 22 Jul 2019
Status New Discussion
avatar SharkyKZ SharkyKZ - change - 25 Mar 2021
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2021-03-25 17:41:05
Closed_By SharkyKZ
avatar SharkyKZ SharkyKZ - close - 25 Mar 2021

Add a Comment

Login with GitHub to post a comment