Skip to content

Conversation

@eljaydub
Copy link
Collaborator

Fix bug where CRUDController would not return control to an instance of DynamicCrudController when rendering a form because the signatures of the two renderForm methods did not match.

Fix bug where CRUDController would not return control to an instance of DynamicCrudController subclass when rendering a form because the signatures of the two renderForm methods did not match so the generic render method was called instead of renderForm.
Add the Override corresponding to the change in the CRUDContoller superclass. This fixes a subtle bug by allowing calls to 'renderForm' to find the correct method instead of reverting to the generic 'render' method, and thereby find the correct view and avoid a TemplateNotFoundException.
Update DynamicCrudController.java
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant