Symfony - can't get multiple file upload to work -


I am using VichUploaderBundle to upload a file to a gallery. I have two bodies - the first is the gallery, and the second is the gallery image.

This code is: - Gallery unit # - Gallery object unit
- Gallery image type

Gallery type form
- Controller (part of this) < P> Anything that I do, I always get the exception when executing 'Gallery' images (image_name, gallery_id) 'in values ​​(' ,,?) '' SQLSATATE [23000]: Integrity barrier violation: 1048 column image_name 'Can not be empty

Any ideas what I am doing wrong? Thanks

UPDATE New Gallery Image F Ill:

It seems that the @Uploadable class annotation is missing in the GalleryEmage class

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -