Connect you with admin Roles and add new Speakers without image.
You have an error fileUploader.
Scenario :
connect with user admin Roles
go on manage speaker page
click on "add speaker" button
fill in all fields except image upload
click on "add speakers" button
Bug report:
Possible solutions
Improve the uploader image controller.
Making the field optional would require many changes in the code base (any ->getPhoto() should be surrounded by if statements, any .photo in twig should too, and the storage_url filter should accept nullable strings)
Leaving it mandatory, but setting photo to a default value (similar to what Gravatar does) feels like a good solution as well. We can't set it on the object storage though (can't be positive the image always exists), which means it has to go in the public folder, hence requiring modification of the storage_url filter.
Current Behavior
Connect you with admin Roles and add new Speakers without image. You have an error fileUploader.
Scenario : connect with user admin Roles go on manage speaker page click on "add speaker" button fill in all fields except image upload click on "add speakers" button
Bug report:
Possible solutions
Improve the uploader image controller.
->getPhoto()
should be surrounded byif
statements, any.photo
in twig should too, and thestorage_url
filter should accept nullable strings)public
folder, hence requiring modification of thestorage_url
filter.