Easyadminbundle: [3.1.2] Adding a record while a filter is active on the index throws an error

Created on 19 Jul 2020  路  9Comments  路  Source: EasyCorp/EasyAdminBundle

Adding a record while a filter is active on the index throws an error

HTTP 500 Internal Server Error
An error has occurred resolving the options of the form "EasyCorp\Bundle\EasyAdminBundle\Form\Type\FiltersFormType": The option "action" with value null is expected to be of type "string", but is of type "null".

Tested on 3.1.1 as well, same error.

How to replicate:
Create a Crudcontroller with a filter
Set the filter
While filter set, click create
When saving this error is shown

bug confirmed

Most helpful comment

Still exists in 3.1.4

All 9 comments

Additional info. The record is actually added when this error appears. It also happens when you have a filter active and you want to change a record

Can you acknowlegde this bug @javiereguiluz ?

I also get this bug

Looks like there is a possible fix pending. #3562

Still exists in 3.1.4

I must add that this also happens on editing a record.

An error has occurred resolving the options of the form "EasyCorp\Bundle\EasyAdminBundle\Form\Type\FiltersFormType": The option "action" with value null is expected to be of type "string", but is of type "null".

Actually, it happes after the editing. When the record is saved and the screen wants to refresh I think

Thanks for reporting. This is being fixed in #3789.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ndench picture ndench  路  4Comments

seb-jean picture seb-jean  路  3Comments

BigMichi1 picture BigMichi1  路  3Comments

lukasluecke picture lukasluecke  路  3Comments

devkbsc picture devkbsc  路  3Comments