Skip to content
This repository has been archived by the owner on Jul 21, 2021. It is now read-only.

Edit Purchases Or User leads to 500 #60

Closed
Rebolon opened this issue Jan 4, 2018 · 0 comments · Fixed by #71
Closed

Edit Purchases Or User leads to 500 #60

Rebolon opened this issue Jan 4, 2018 · 0 comments · Fixed by #71

Comments

@Rebolon
Copy link

Rebolon commented Jan 4, 2018

Hi,
i installed the project and follow the README.md, except that i use default doctrine param with the sqlite database.
The app is running on localhost:8001
If i try to edit one purchase then it fail and crash on 500

Go on a Purchase detail : http://localhost:8001/admin/?action=show&entity=Purchase&menuIndex=2&submenuIndex=-1&sortField=deliveryDate&sortDirection=DESC&page=1&referer=%252Fadmin%252F%253Faction%253Dlist%2526entity%253DPurchase%2526menuIndex%253D2%2526submenuIndex%253D-1%2526sortField%253DdeliveryDate%2526sortDirection%253DDESC%2526page%253D1&id=120180030803276001515076665

Then try to edit it : http://localhost:8001/admin/?entity=Purchase&referer=%252Fadmin%252F%253Faction%253Dlist%2526entity%253DPurchase%2526menuIndex%253D2%2526submenuIndex%253D-1%2526sortField%253DdeliveryDate%2526sortDirection%253DDESC%2526page%253D1&action=edit&id=120180030803276001515076665

Expect : the form to edit the purchase

Get : an HTTP 500

You can repeat this process with a User edit.

javiereguiluz added a commit that referenced this issue Jun 19, 2019
This PR was squashed before being merged into the master branch (closes #71).

Discussion
----------

Update Symfony, fix Demo application

This makes the Demo App fully working and upgrades to most recent versions of Symfony, EasyAdminBundle, VichUploaderBundle and replaces IvoryCKEditorBundle with FOSCKEditorBundle

This should fix #69 and EasyCorp/EasyAdminBundle#2554 issues.
EDIT: Also fixes #60 by forcing `texarea` form type and #66 by bumping minimal PHP version to 7.2.9 (as Symfony 5.0).

Commits
-------

daa1d0d Update Symfony, fix Demo application
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant