Closed srascar closed 3 years ago
Shouldn't the field be required ?
The field is required but this check is made by validators. That means the entity property is set before and that raises an exception in the property accessor
Do you mind making the PR ?
The declaration of the
backofficeTitle
field should include theempty_data
option. If not, this conflicts with the entity type declaration.ex:
Expected
Actual
https://github.com/sonata-project/SonataArticleBundle/blob/bfcb250f097b9f4a3971a9a23bb04ba6fe6fdb65/src/FragmentService/AbstractFragmentService.php#L49