Closed skrobek closed 10 years ago
Sorry i made second change to early, wrong PR.
When save a entity without images, got this error:
Call to a member function getFile() on a non-object in .../vendor/avocode/form-extensions-bundle/Avocode/FormExtensionsBundle/Form/EventListener/CollectionUploadSubscriber.php on line 160
So, your solution work it and make sense for me
@ronzalo
The error you described was linked to the storage, not the upload
parameter.
Commit https://github.com/avocode/FormExtensions/commit/178ee272e8476c95ff81a84b4c55cf7e55592475 should fix this issue.
@sescandell Can you link commit again ? :-)
Done
I wonder why
$this->uploads
inCollectionUploadSubscriber.php
gives:Shall we first check if object is not null ?