Information Required ?
avatar webchun
webchun
18 Feb 2021

Steps to reproduce the issue

I tried to modify mod_articles_latest by adding support for ajax. Because of unresolved issue in #32136 I added dummy helper.php to include ArticlesLatestHelper.php and added getAjax function into ArticlesLatestHelper.php.
But everytime I tried to access this url index.php?option=com_ajax&module=articles_latest&method=get&format=json it always returned {"success":false,"message":"Method getAjax does not exist.","messages":null,"data":null}

I think this is still related to namespaced module's issue because when I tried to comment namespace Joomla\Module\ArticlesLatest\Site\Helper; and rename Helper Class name from ArticlesLatestHelper to ModArticlesLatestHelper it returned {"success":true,"message":null,"messages":null,"data":"yes it works"}

System information (as much as possible)

Joomla 4 beta 7

avatar webchun webchun - open - 18 Feb 2021
avatar joomla-cms-bot joomla-cms-bot - labeled - 18 Feb 2021
avatar webchun
webchun - comment - 18 Feb 2021

Sorry mistakenly marked the issue as critical, should be Urgent or Medium


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/32455.

avatar chmst chmst - change - 18 Feb 2021
Priority Critical Medium
avatar Quy
Quy - comment - 18 Feb 2021

Please test PR #32291

avatar Quy Quy - change - 24 Feb 2021
Labels Added: Information Required
avatar Quy Quy - labeled - 24 Feb 2021
avatar joomdonation
joomdonation - comment - 14 Mar 2021

We have new PR here #32633 . Maybe this issue could be closed?

avatar alikon alikon - close - 14 Mar 2021
avatar alikon
alikon - comment - 14 Mar 2021

yes

avatar alikon alikon - change - 14 Mar 2021
Status New Closed
Closed_Date 0000-00-00 00:00:00 2021-03-14 09:44:32
Closed_By alikon

Add a Comment

Login with GitHub to post a comment