I am seeing the same issue, and have determined that it is caused by an interaction with Regular Labs' Advanced Module Manager.
Specifically, the default module manager triggers the following when a module is edited or deleted:
Code: |
onExtensionBeforeSave / onExtensionAfterSave / onExtensionBeforeDelete / onExtensionAfterDelete
|
AMM 7.11.0, on the other hand, triggers these:
Code: |
onContentBeforeSave / onContentAfterSave / onContentBeforeDelete / onContentAfterDelete
|
Apparently, the problem cannot be fixed in AMM, because of a limitation in the Joomla core (see
this bug report).
For the moment, I have solved the problem in ARI by hacking plugins/system/ariextensions/ariextensions.php as follows:
Code: |
--- ariextensions.php.ORIG 2019-02-05 15:10:29.006982402 -0500
+++ ariextensions.php 2019-05-28 14:29:40.886223593 -0400
@@ -36,6 +36,15 @@
var $_cacheEnabled = null;
/**
+ * JMD
+ * A total hack; Regular Labs Advanced Module Manager calls onContentBeforeSave instead of onExtensionBeforeSave.
+ */
+ function onContentBeforeSave($scope, $data, $isNew)
+ {
+ $this->onExtensionBeforeSave($scope, $data, $isNew);
+ }
+
+ /**
* Allow to processing of extension data before it is saved.
*
* @param object The data representing the extension.
|
Perhaps this workaround can be added to the official code base.