[Flow] Ignore validation errors for related object
Steffen Wickham
steffen at gaming-inc.de
Tue May 21 10:30:30 CEST 2013
Hello Stephen,
did you add "@ORM\Column(nullable=true)" to your image property? How do
you annotate the property and implement the setter/getter methods for
it? Please provide us a little bit more details :)
Best regards,
Steffen
Am 19.05.13 11:30, schrieb Stephen Bungert:
> I have a form for my main objects - books, they have a onetoone
> relationship with another object - an image, but an image isn't
> required. The problem is, that this object has two fields that are
> required, so my main object's update action reports validation errors.
>
> I can create books with images, and images can be deleted too, but I
> can't save my book without validation errors because of the required
> fields in the image object.
>
> Is there anyway of over-riding these errors in my book's update action?
>
> Thanks for any help.
>
> Stephen.
> _______________________________________________
> Flow mailing list
> Flow at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow
More information about the Flow
mailing list