Is this [mostly] a bug report, feature request, or question? bug/question
I've enabled the CashDrop plugin that is in the main CORE repo (not the separate one). I expected CashDropNotifier which extends Notifier to be auto-loaded but it was not; the Notifier does not appear when the conditions for it are met.
In CashDropPreParser I've added: if (!class_exists("AutoLoader")) include_once(realpath(dirname(__FILE__).'/../../lib/AutoLoader.php'));
If in CashDropPreParser->check() I look for CashDropNotifier in the array returned by CoreLocal::get('Notifiers') it is absent. If I add it to the Notifiers array in CoreLocal then it becomes usable in the plugin.
Should AutoLoader be loading it? If so, what is needed for that to happen?
I found that TermStateNotifier from the Paycards plugin is in the Notifiers array at the the point when CashDropNotifier is not even though the Paycards plugin isn't enabled.
Version of CORE? 3.0.0-dev
Issue with Office, Lane, or both? Lane
Is this [mostly] a bug report, feature request, or question? bug/question
I've enabled the
CashDrop
plugin that is in the main CORE repo (not the separate one). I expectedCashDropNotifier
whichextends Notifier
to be auto-loaded but it was not; the Notifier does not appear when the conditions for it are met.In
CashDropPreParser
I've added:if (!class_exists("AutoLoader")) include_once(realpath(dirname(__FILE__).'/../../lib/AutoLoader.php'));
If in
CashDropPreParser->check()
I look forCashDropNotifier
in the array returned byCoreLocal::get('Notifiers')
it is absent. If I add it to theNotifiers
array inCoreLocal
then it becomes usable in the plugin.Should
AutoLoader
be loading it? If so, what is needed for that to happen?I found that
TermStateNotifier
from thePaycards
plugin is in theNotifiers
array at the the point whenCashDropNotifier
is not even though thePaycards
plugin isn't enabled.