vitiko / IphpFileStoreBundle

Symfony 2 file upload for doctrine entities
http://symfonydev.ru/iphpfilestorebundle/
51 stars 23 forks source link

fixes #51 #52

Open sneakyvv opened 7 years ago

sneakyvv commented 7 years ago

I'm not sure if this is the best fix. But it does seem to work. We'll properly test this some more during the coming days. But I already post this so someone can review it.

LouTerrailloune commented 7 years ago

I don't think this 'fix' should be integrated in this bundle, it's related to the Form component. You should try to solve your problem with proper configuration/events of your form. The README updates should be removed anyway.

sneakyvv commented 7 years ago

@LouTerrailloune: thanks for your quick feedback. Do you perhaps have any pointers as to how I can fix this on my form? I could of course have a PRE_SET_DATA event and have it handled before FileType's handler, but I presume this should also be done via some form options perhaps?

LouTerrailloune commented 7 years ago

@sneakyvv I do not have a solution yet (I'm facing the same problem).