Hi Sidney,

Unfortunately, there seems to be a bug with files uploaded inside
embedded forms in symfony. You'll find a workaround in this URL:

http://stereointeractive.com/blog/2008/12/23/symfony-12-upload-a-file-inside-an-embedded-form/

Also, it appears that when using this workaround you can't set a
specific function to handle the file name (in other words, you're
stuck with the name symfony generates by default).

This bug is also probably documented in Trac, if you need more info.

Good luck taming your embedded forms! :)

PS: Are you brazilian too?

Best Regards,
Thiago Campezzi


On Jun 3, 11:23 am, Sid Ferreira <sid....@gmail.com> wrote:
> Sample schema:
>
> > tableA:
>
>   id: ~
>
>   title : varchar(16)
>
>
>
> > tableB:
>
>   id: ~
>
>   a_id: (FK)
>
>   file: varchar(64);
>
>
>
> > tableC:
>
>   id: ~
>
>   a_id: (FK)
>
>   file: varchar(64);
>
>
>
> In the forms, TableA  embed all TableB and TableC that belongs to it.
>
> Sometimes the upload of B simply fails. why?
>
> obs: I hope it is enough information
>
> --
> Sidney G B Ferreira
> Desenvolvedor Web
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to