[symfony-devs] Re: Aw: Re: Generate entities from existing database

2011-04-29 Thread Robert Campbell
Thanks for the reply. However, if I add a primary keys separate and apart from the current fk/pk for each table, then the nature of the relationships will be changed unless i add a plethora of unique keys. I will try to see what I can learn from the doctrine guys as weaverryan suggested. If

[symfony-devs] Aw: Re: Generate entities from existing database

2011-04-29 Thread Lars Krüger
Hi Robert, I had the same issues, but adding a primary key instead of using foreign keys as PK solved them. I'm not at home this weekend so I can't give you an example. This is what I remember ... Lars -- If you want to report a vulnerability issue on symfony, please send it to security at

[symfony-devs] [symfony2][Security + DIC] Checking if Acl has been enabled in a Bundle Extension

2011-04-29 Thread Tim Nagel
Hello, I want to be able to detect if Security has its Acl system enabled or not in CommentBundle, and load the security related services only if it is. At the moment, the check in the Extension is: https://github.com/FriendsOfSymfony/CommentBundle/blob/master/DependencyInjection/FOSCommentExtens

Re: [symfony-devs] Security notice

2011-04-29 Thread Jeremy Mikola
I'm guessing the object with id, name and members properties is a Group (or something similar), which is your Member object references once or many times? And the properties on that Group entity are private? When a token is serialized, it in turn attempts to serialize your user object with it. Tha

Re: [symfony-devs] Re: Generate entities from existing database

2011-04-29 Thread ryan weaver
Hi Robert- I can't answer your question, but it looks like a bug. Your schema may in fact be too complicated for Doctrine to reverse engineer it (I have no idea), but at the very least - it should probably throw an exception if it gets into the place (like in your example) where there is an undefi

[symfony-devs] Re: Generate entities from existing database

2011-04-29 Thread Robert Campbell
This is the ddl for my database. CREATE OR REPLACE FUNCTION manage_object() RETURNS trigger LANGUAGE plpgsql AS $$ DECLARE object_entity_name TEXT; begin IF (TG_OP = 'INSERT') THEN IF NEW.id IS NULL THEN insert into object (entity_name) values (TG_RELNAME) RETURNING id INTO NEW.id; ELSE select

[symfony-devs] Question related with Security

2011-04-29 Thread Mario Alberto Alvarez Garcia
Hello everyone! I have a question related to the security component. I'm not sure this is the right place to ask, but here I go. While testing the security component, I try the demo in AcmeDemoBundle and the in_memory user, and all works fine. When I type the user and pass, authentication is r

Re: [symfony-devs] Re: Will Symfony2 have an official Admin Generator?

2011-04-29 Thread Pablo Díez
I have written a post explaining the WhiteOctoberAdminBundle architecture: http://mandango.org/blog/post/whiteoctoberadminbundle-admin-of-admins Pablo On Fri, Apr 29, 2011 at 3:10 PM, Jaime Suez wrote: > It's official that in 2.1 will be a AdminBundle? I haven't see that > published in any pla

Re: [symfony-devs] Whats the equivalent of EntityChoiceField in this new beta

2011-04-29 Thread Vincent Lechemin
It's entity. -- Vincent -- 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@googlegr

Re: [symfony-devs] Debug bar not working with cuystom port

2011-04-29 Thread Fabien Potencier
On 4/29/11 4:01 PM, umpirsky wrote: My test site is working on port 81, and this causes debug bar not show up, because it tries to oad it from http://test.site.loc/app_dev.php/_wdt/4dbac3b1bd085 instead from http://test.site.loc:81/app_dev.php/_wdt/4dbac3b1bd085 and gets 404 which is visible in

Re: [symfony-devs] Re: Will Symfony2 have an official Admin Generator?

2011-04-29 Thread Jaime Suez
It's official that in 2.1 will be a AdminBundle? I haven't see that published in any place. On Apr 29, 2011 8:48 AM, "Michel Salib" wrote: Ok, thanks for the quick answer I'll lock into it when I'll need it! Michel -- If you want to report a vulnerability issue on symfony, please send it to

[symfony-devs] Debug bar not working with cuystom port

2011-04-29 Thread umpirsky
My test site is working on port 81, and this causes debug bar not show up, because it tries to oad it from http://test.site.loc/app_dev.php/_wdt/4dbac3b1bd085 instead from http://test.site.loc:81/app_dev.php/_wdt/4dbac3b1bd085 and gets 404 which is visible in firephp. -- If you want to report a

[symfony-devs] Re: auto-mapping and multiple entity managers

2011-04-29 Thread Dennis Jacobfeuerborn
To widen the scope of this a bit wouldn't it make sense to default to auto_mapping:true for all entitiy managers unless you specify explicit mappings? That would make things even easier for beginners and remove a lot of duplication for more complex configurations. Regards, Dennis -- If you

Re: [symfony-devs] Re: Will Symfony2 have an official Admin Generator?

2011-04-29 Thread Michel Salib
Ok, thanks for the quick answer I'll lock into it when I'll need it! Michel -- 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

Re: [symfony-devs] Re: Will Symfony2 have an official Admin Generator?

2011-04-29 Thread Lukas Kahwe Smith
On 29.04.2011, at 14:37, Michel Salib wrote: > Thanks for the info nomack-sf. > > Can we have an estimation of when is the release of symfony2.1 planed ? So > that I can know if it is a good idea for me to wait or to think about > integrate one of the other bundles. We dont even know a releas

[symfony-devs] Re: Will Symfony2 have an official Admin Generator?

2011-04-29 Thread Michel Salib
Thanks for the info nomack-sf. Can we have an estimation of when is the release of symfony2.1 planed ? So that I can know if it is a good idea for me to wait or to think about integrate one of the other bundles. Thanks, Michel -- If you want to report a vulnerability issue on symfony, pleas

[symfony-devs] Re: Generate entities from existing database

2011-04-29 Thread Robert Campbell
I would appreciate some feedback here. is this a known issue? etc... -- 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

[symfony-devs] Re: Will Symfony2 have an official Admin Generator?

2011-04-29 Thread Mario Alberto Alvarez Garcia
I't will be an official Admin generator, but its deferred to Symfony 2.1. -- 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 t

Re: [symfony-devs] [Symfony2] IRC meeting week 17

2011-04-29 Thread Mario Alberto Alvarez Garcia
I'm with Greg. Thanks a lot for share the logs. -- 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 t

Re: [symfony-devs] [Sf2] Component exceptions need some work (and volunteers)

2011-04-29 Thread Lukas Kahwe Smith
On 27.04.2011, at 11:05, Victor Berchet wrote: > Dear all: > > Johannes has started to work on adding component exceptions: > https://github.com/symfony/symfony/pull/668 > > Some more work is needed to complete this: > * Update the tests, > * Update some catch clauses, > * Update the phpDoc

[symfony-devs] Re: Upgrade Symfony from 1.4.4 to 1.4.11 generates error

2011-04-29 Thread Victor Berchet
you should probably try to post on the user mailing list. one thing that I think could go wrong is the name of your folder "symfony_last", you should try with "symfony" or modify the autoload.yml see http://www.symfony-project.org/reference/1_4/en/14-Other-Configuration-Files cheers, victor On A

[symfony-devs] Re: Upgrade Symfony from 1.4.4 to 1.4.11 generates error

2011-04-29 Thread pixworld
After clear cache in SF 1.4.4, I have numerous files in /cache/ frontend/dev/config but when I clear cache in SF 1.4.11, I have only 7 files with routing.yml which contains no lines. On Apr 28, 3:24 pm, pixworld wrote: > Hi, > I've created a folder in /lib/vendor call "symfony_last" and put

[symfony-devs] Whats the equivalent of EntityChoiceField in this new beta

2011-04-29 Thread Louardi Abdeltif
Hello, i have this relation "users (ManyToOne) group" to insert user it must to select his group with () in sf2 PR12 i used EntityChoiceField. Can you tell me whats the equivalent in this new beta? thanks. -- If you want to report a vulnerability issue on symfony, please send it to security

[symfony-devs] Upgrade Symfony from 1.4.4 to 1.4.11 generates error

2011-04-29 Thread pixworld
Hi, I've created a folder in /lib/vendor call "symfony_last" and put the last version or the core. I've change the apache configuration. I've made a clear cache as written in my book. The debug bar say I'm under Symfony 1.4.11 but I have an error of routing. After search, I've seen in /cache/fron

[symfony-devs] Re: Re : Re: Extract template strings

2011-04-29 Thread Michel Salib
We finished solving this issue via emails. I'll post here our conlusions : - I developed this Command on PR8, this is why there is mismatch on the class, \Symfony \Bundle\TwigBundle\Node\TransNode is now \Symfony\Bridge\Twig\Node\TransNode - Then, as I said, I recently refactored the code in ord

[symfony-devs] Re: Form Framework feedback thoughts

2011-04-29 Thread Brent Shaffer
I love the form framework! It's fantastic. I'd like to weigh in on the FileType questions... Why should Doctrine be concerned with moving files around on the server? Maybe in some cases, but it seems like the model should not always need to know this. Should the moving of the file happen in val

[symfony-devs] Re: Re : Re: Extract template strings

2011-04-29 Thread umpirsky
It should be \Symfony\Bridge\Twig\Node\TransNode instead of \Symfony \Bundle\TwigBundle\Node\TransNode, isn't it. But then I get error: [Twig_Error_Runtime] Attribute "data" does not exist for Node "Twig_Node_Expression_Constant". On 28 апр, 20:27, Michel Salib wrote: > You will find my file h

[symfony-devs] Re: Re : Re: Extract template strings

2011-04-29 Thread umpirsky
It's Twig_Node_Module actually. On 28 апр, 20:27, Michel Salib wrote: > You will find my file here > :http://www.michelsalib.com/wp-content/uploads/2011/04/UpdateTransComm... > > It is a command that you can launch using your CLI. > 1. It will parse all your templates looking for trans blocks or

[symfony-devs] Re: Re : Re: Extract template strings

2011-04-29 Thread umpirsky
Thanks, the idea is great, thank you very much. But it wont crawl my tree. For some reason private function _crawlNode(\Twig_Node $node) { var_dump(gettype($node));exit; gives stroing(6) "Object". And it does not extract translations. I'm using PR12. Any idea? On 28 апр, 20:27, Miche