I followed those recipes to:
I detected some things that don't happens like the recipes say, but once I have my custom model working, with the forms, the grid, the validation, the form extended to allow upload images... I got this error after send the form of creating a new object:
An exception occurred while executing 'INSERT INTO app_designer_image (type, path, owner_id) VALUES (?, ?, ?)' with params ["avatar", null, 2]:
I can't find the way to upload an image. Following the recipe, I defined a Image Upload Service listener, listening to the sylius.designer.pre_create
and sylius.designer.pre_update
but those events are never triggered, and when the image is going to be persisted, always fail because the path is not defined...
Any clue of what can be happening?