On windows project page not opening because case sensitivity #635
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
On windows, when i try to open a project summary i get an exception, it turns out the applyform defenition is with small letter f and in the layout it's used in capital F.
The exception:
Is not possible to use $this->layout() in partials. Symfony\Component\Form\Exception\LogicException: No block "form" found while rendering the form. at Symfony.Component.Form.FormRenderer.renderBlock(FormRenderer.php:76) at Symfony.Bundle.FrameworkBundle.Templating.Helper.FormHelper.form(FormHelper.php:83) at Goteo.Util.Foil.Extension.Forms.form(Forms.php:48) at call_user_func_array(Unknown Source)
at Foil.Kernel.Command.execute(Command.php:168)
at Foil.Kernel.Command.doRun(Command.php:195)
at call_user_func_array(Unknown Source)
at Foil.Kernel.Command.doRunIsolated(Command.php:181) at call_user_func_array(Unknown Source)
at Foil.Kernel.Command.run(Command.php:104)
at call_user_func_array(Unknown Source)
at Foil.Template.Template.run(Template.php:164)
at call_user_func_array(Unknown Source)
at Foil.Template.Template.__call(Template.php:102) at require(layout.php:25)
at Foil.Template.Template.collect(Template.php:287) at Foil.Template.Template.render(Template.php:241) at Foil.Engine.doRender(Engine.php:307)
at Foil.Engine.render(Engine.php:211)
at Goteo.Application.View.render(View.php:86)
at Goteo.Core.Controller.viewResponse(Controller.php:37) at Goteo.Controller.Dashboard.ProjectDashboardController.summaryAction(ProjectDashboardController.php:228) at Symfony.Component.HttpKernel.HttpKernel.handleRaw(HttpKernel.php:158) at Symfony.Component.HttpKernel.HttpKernel.handle(HttpKernel.php:80) at Goteo.Application.App.run(App.php:157)
at require_once(index.php:62)
at (main)(router_dev.php:33)
🎩 What? Why?
Please describe your pull request.
📌 Related Issues
Link your PR to an issue
Testing
Describe the best way to test or validate your PR.
📷 Screenshots
Please add screenshots of the changes you are proposing
