Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

If you don't chose an image in the form, the show.html.twig throw an exception #1

Open
lenybernard opened this issue Jul 5, 2015 · 2 comments

Comments

@lenybernard
Copy link
Contributor

I think this make sense to require the image form type, what do you think ?

@LoicGoyet
Copy link
Contributor

I guess it make sense, but why not just don't save the form ?

@lenybernard
Copy link
Contributor Author

The image form type is now required but also nullable, It can't be nullable because of business entity mode where image_id is no more required and the image field is saved in fields one.

We need to :

  1. Rollback
  2. Set the image_id required (only in static mode)

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

3 participants