Payment processors and sms providers cannot use a short extension key
Since 2017-2018, CiviCRM supports having extensions that use a short key (
myext) instead of the long version (
org.example.myext). In other words, extensions generated with
civix generate:module myext.
However, there are checks in the payment processor handling and SMS provider handling that calls
isExtensionKey. That function checks whether the key has a dot in it.
How to reproduce:
- Generate a new SMS provider (
civix generate:module myprovider)
- Try to enable it
"Could not locate extension for pushnotification."
Grepping the code, this seems to also affect Payment Processors.