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
On the AuthenticationForm custom entity form, the operation is missing. This causes an error on the /admin/config/apigee-edge/settings page. The error happens because the operation is null and string is expected in hook_entity_prepare_form(). I've found this issue while using the ECA module. The eca_content submodule implemented hook_entity_prepare_form().
Apigee Info
Apigee Edge
Steps to Reproduce
Steps to reproduce the behavior:
Install the ECA module
Install Apigee Edge module.
Go to the Apigee General settings: /admin/config/apigee-edge/settings
Actual Behavior
An error occurred and the Apigee General settings page cannot be opened.
Expected Behavior
Opening the Apigee General settings page without the error.
Screenshots
Notes
I've found the operation set in routing.yml elsewhere.
example:
This issue relies on the fact that AuthenticationForm is extending EntityFormBase but not exposed as an entity form in routing, therefore \Drupal\Core\Entity\HtmlEntityFormController::getFormObject() does not do its "magic". But... since AuthenticationForm has a dual behavior, both handles create and edit process, we most probably could not even consider using _entity_form.
Description
On the AuthenticationForm custom entity form, the operation is missing. This causes an error on the /admin/config/apigee-edge/settings page. The error happens because the operation is null and string is expected in hook_entity_prepare_form(). I've found this issue while using the ECA module. The eca_content submodule implemented hook_entity_prepare_form().
Apigee Info
Apigee Edge
Steps to Reproduce
Steps to reproduce the behavior:
Actual Behavior
An error occurred and the Apigee General settings page cannot be opened.
Expected Behavior
Opening the Apigee General settings page without the error.
Screenshots
Notes
I've found the operation set in routing.yml elsewhere.
example:
entity.crop_type.edit_form:
path: '/admin/config/media/crop/manage/{crop_type}'
defaults:
_entity_form: 'crop_type.edit'
requirements:
_permission: 'administer crop types'
Version Info
apigee_edge 2.0.6
The text was updated successfully, but these errors were encountered: