ConfigModelComponent::save() dispatches the onExtension(Before|After)Save events passing the JTable object by reference. This is contradictory to how the onXXX(Before|After)Save events are dispatched in JModelAdmin. The references are removed.
Testing Instructions
Events are correctly dispatched and processed when saving an extension record (com_config component, com_modules, and com_plugins as examples).
Tested with my plugin, event methods are called properly,
also it is not only about how events are called in JModelAdmin.
The signatures of the methods do no have the reference:
e.g.
public function onExtensionBeforeSave($context, $table, $isNew)
```<hr /><sub>This comment was created with the <a href="https://github.com/joomla/jissues">J!Tracker Application</a> at <a href="https://issues.joomla.org/tracker/joomla-cms/10878">issues.joomla.org/joomla-cms/10878</a>.</sub>
I have tested this item✅ successfully on 8d78fd3
Tested with my plugin, event methods are called properly,
also it is not only about how events are called in JModelAdmin.
The signatures of the methods do no have the reference:
e.g.