Hi all, while working with the Sonata Admin Bundle, I have noticed I can't add a sonata_type_admin to another sonata_type_admin due to a circular reference exception. I took a look at the code and I managed to write a patch and a couple of tests that should allow that kind of behavior without dropping the circular reference check: basically with the new implementation an exception is thrown only if a FooType named 'fooBar' is added to another field of the same type AND name. Does anyone have comments on this? this is the branch on github: https://github.com/omissis/symfony/tree/form-circular-references-fix
> Hi all,
> while working with the Sonata Admin Bundle, I have noticed I can't add a
> sonata_type_admin to another sonata_type_admin due to a circular reference
> exception.
> I took a look at the code and I managed to write a patch and a couple of
> tests that should allow that kind of behavior without dropping the circular
> reference check: basically with the new implementation an exception is
> thrown only if a FooType named 'fooBar' is added to another field of the
> same type AND name.
> Does anyone have comments on this? this is the branch on
> github: https://github.com/omissis/symfony/tree/form-circular-references-fix
> Thank you
> --
> If you want to report a vulnerability issue on symfony, please send it to
> security at symfony-project.com
> You received this message because you are subscribed to the Google
> Groups "symfony developers" group.
> To post to this group, send email to symfony-devs@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-devs+unsubscribe@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/symfony-devs?hl=en
On Thursday, May 3, 2012 10:15:13 AM UTC+2, Bernhard Schussek wrote:
> Hi omissis,
> I need to investigate this further. Could you send a PR for your patch?
> Thanks, > Bernhard
> 2012/4/30 omissis: > > Hi all, > > while working with the Sonata Admin Bundle, I have noticed I can't add > a > > sonata_type_admin to another sonata_type_admin due to a circular > reference > > exception. > > I took a look at the code and I managed to write a patch and a couple of > > tests that should allow that kind of behavior without dropping the > circular > > reference check: basically with the new implementation an exception is > > thrown only if a FooType named 'fooBar' is added to another field of the > > same type AND name. > > Does anyone have comments on this? this is the branch on > > github: > https://github.com/omissis/symfony/tree/form-circular-references-fix
> > Thank you
> > -- > > If you want to report a vulnerability issue on symfony, please send it > to > > security at symfony-project.com
> > You received this message because you are subscribed to the Google > > Groups "symfony developers" group. > > To post to this group, send email to symfony-devs@googlegroups.com > > To unsubscribe from this group, send email to > > symfony-devs+unsubscribe@googlegroups.com > > For more options, visit this group at > > http://groups.google.com/group/symfony-devs?hl=en
We have symfony2 based project and when testing it load on a brand new webserver the server is down within seconds.
The version used for our project is : Symfony 2.1 DEV. Just clicking F5 continuously from 2 or more clients kills the server.
Within 5 to 10 seconds the load average of the processors (tested on 8 cores) is 100% and more. And the server is down.
We created a simple hello word response without loadin any of our bundles the problem is the same. Server down within seconds.
We can provide any other information if needed,
Thanks,
--
If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony developers" group.
To post to this group, send email to symfony-devs@googlegroups.com
On Thursday, May 3, 2012 12:23:45 PM UTC+2, adil adil wrote:
> Hello,
> We have symfony2 based project and when testing it load on a brand new > webserver the server is down within seconds.
> The version used for our project is : Symfony 2.1 DEV.
> Just clicking F5 continuously from 2 or more clients kills the server.
> Within 5 to 10 seconds the load average of the processors (tested on 8 > cores) is 100% and more. And the server is down.
> We created a simple hello word response without loadin any of our bundles > the problem is the same. Server down within seconds.
> We can provide any other information if needed,
> Thanks,
> -- > If you want to report a vulnerability issue on symfony, please send it to > security at symfony-project.com
> You received this message because you are subscribed to the Google > Groups "symfony developers" group. > To post to this group, send email to symfony-devs@googlegroups.com > To unsubscribe from this group, send email to > symfony-devs+unsubscribe@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/symfony-devs?hl=en