User tests: Successful: Unsuccessful:
Pull Request for pr #32291.
All over joomla are helpers manually loaded. Better to load them through a factory from the booted extension.
public static function getDataAjax()
{
$data = ['test'];
return $data;
}{"success":true,"message":null,"messages":null,"data":["test"]}{"success":false,"message":"The file at mod_quickIcon\/helper.php does not exist.","messages":null,"data":null}Should be documented on the same place where the new extension setup is documented.
| Status | New | ⇒ | Pending |
| Category | ⇒ | Modules Administration Front End com_ajax Libraries |
| Labels |
Added:
?
|
||
I've looked into changes and I think it looks solid.
I understand you...
It is working as described. However, there are few things:
$results = new LogicException(Text::sprintf('COM_AJAX_METHOD_NOT_EXISTS', $method . 'Ajax'), 404);if ($results === null && $moduleId && $table->load($moduleId) && $table->enabled)I won't comment about the architecture change here because I'm not good at it and still trying to get myself familiar with architecture changes in J4.
@joomdonation please comment inline in the code. Easier to understand.
@wilsonge do we need here also the release blocker label as the previous one had it?
| Labels |
Added:
?
|
||
I have tested this item
I have tested this item
| Status | Pending | ⇒ | Ready to Commit |
RTC
| Status | Ready to Commit | ⇒ | Fixed in Code Base |
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2021-03-25 14:38:07 |
| Closed_By | ⇒ | rdeutz | |
| Labels |
Added:
?
Removed: ? |
||
My eyes still hurt from editing ajax.php!