Registration Service attempts to get form from service locator when it is actually part of the form element manager · Issue #23 · Bacon/BaconUser · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 16, 2024. It is now read-only.
There is no 'BaconUser\Form\RegistrationForm' key in the service manager configuration. I'm sure the form should be instantiated by the form element manager:
Like so:
$serviceLocator->get('FormElementManager')->get('BaconUser\Form\RegistrationForm')
I could be wrong and haven't tested anything, merely an observation.
The text was updated successfully, but these errors were encountered:
I was looking over the code and noticed that the registration form factory is defined in the form element manager configuration:
https://github.com/Bacon/BaconUser/blob/master/config/module.config.php#L40
However, the form registration service attempts to get the form from the service manager: https://github.com/Bacon/BaconUser/blob/master/src/BaconUser/Service/Factory/RegistrationServiceFactory.php#L31
There is no 'BaconUser\Form\RegistrationForm' key in the service manager configuration. I'm sure the form should be instantiated by the form element manager:
Like so:
$serviceLocator->get('FormElementManager')->get('BaconUser\Form\RegistrationForm')
I could be wrong and haven't tested anything, merely an observation.
The text was updated successfully, but these errors were encountered: