J4 Issue ?
avatar SharkyKZ
SharkyKZ
22 Jul 2019

What needs to be fixed

com_ajax currently only looks up helper.php file in module directory. This won't work with in modules with namespaced helpers.

How would you fix it

If we can assume that modules must stick with the same namespace structure we use in core, just build the fully qualified class name based on module name. Otherwise we could store namespace from manifest file in the database (or somewhere else) like we did before and retrieve it from there.

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 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 Quy Quy - change - 22 Jul 2019
Labels Added: J4 Issue
Removed: J3 Issue
avatar Quy Quy - unlabeled - 22 Jul 2019
avatar Quy Quy - labeled - 22 Jul 2019
avatar SharkyKZ SharkyKZ - change - 24 Jan 2021
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2021-01-24 13:03:15
Closed_By SharkyKZ
avatar SharkyKZ SharkyKZ - close - 24 Jan 2021

Add a Comment

Login with GitHub to post a comment