[symfony-users] Re: [SF2] Functional Testing and SF2 Security

2011-06-20 Thread Stephan Petzl
we do a regular form login once per webtestcase. that works, but is a little bit dirty, cause you have to consider the order if the teststep execution. if anyone knows how to do it better: please share your thoughts! BR Stephan On Jun 18, 8:18 am, oscar balladares wrote: > AFAIK, there is no  t

[symfony-users] Re: datetime widget single_text format

2011-06-16 Thread Stephan Petzl
there is a pending pull request: https://github.com/symfony/symfony/pull/694 as far as i see, the formating option will be available as soon as this is merged... BR Stephan On Jun 16, 11:44 am, ibrows_symfony wrote: > Hi, > > I would like to change the format of the datetime widget to "dd.mm.Y

[symfony-users] Re: Cascade: persist not working with Forms

2011-06-16 Thread Stephan Petzl
It's a little bit offtopic, but anyhow: I don't get cascade={"persist"} working. it has no effect at all. i use the annotation on the owning side of the m:n relation. Any ideas? BR Stephan On Jun 13, 12:18 pm, Ruben de Vries wrote: > I've created a small demobundle with the case, since that's a

[symfony-users] Re: Mixing entity and non-entity fields in a single form

2011-06-12 Thread Stephan Petzl
someone gave me a hint on IRC. use 'property_path' to specify properties which should not be mapped to the entity: $builder->add('recipientHashes','choice',array( 'property_path' => false, // this is a property which is not mapped directly to the object ));

[symfony-users] Re: Form + oneToMany + EntityType; cascade not working

2011-05-31 Thread Stephan Petzl
Without knowing whether cascade:persist should do the job, i guess it could be an issue with owning and inverse side of your relation.[1] > "The owning side of a relationship determines the updates to the relationship > in the database." The owning side is your comment (since it is the one with th

[symfony-users] Re: how to update between 2.0 versions

2011-05-30 Thread Stephan Petzl
Maybe this is not the most elegant way of doing it (let me know if there is a better way), but it works, so here we go: Our whole project lives in a git repo on our server. We have defined some ignores in .gitignore (such as vendor/) To work on the project we clone it from the server (git clone ..

[symfony-users] Re: FOSFacebookBundle

2011-05-26 Thread Stephan Petzl
yes- thats it- thanks, works again! On May 25, 5:37 pm, Christophe COEVOET wrote: > Le 25/05/2011 17:18, Stephan Petzl a crit :> By the way: after upgrading to > BETA2 yesterday, authentication does > > not work anymore. I think there is some issue with the oAuth > > conve

[symfony-users] Re: FOSFacebookBundle

2011-05-25 Thread Stephan Petzl
By the way: after upgrading to BETA2 yesterday, authentication does not work anymore. I think there is some issue with the oAuth conversion of the facebook API... On May 25, 3:09 pm, Stephan Petzl wrote: > my firewall configuration looks like this: > >     firewalls: >

[symfony-users] Re: FOSFacebookBundle

2011-05-25 Thread Stephan Petzl
my firewall configuration looks like this: firewalls: wdt: pattern: ^/_wdt security: false login: pattern: ^/login$ anonymous: true profiler: pattern: ^/_profiler security: false public:

[symfony-users] Re: Any chance of creating a new Google group for Symfony2 only?

2011-05-17 Thread Stephan Petzl
Please, please, please :) Symfony and symfony are two completely different things- therefor there will be two different communities in forseable future anyhow. so why sharing mailinglists? BR Stephan On May 17, 8:42 am, Fabien Potencier wrote: > On 5/16/11 7:15 PM, keymaster wrote: > > > > > > >

[symfony-users] Re: Form spread over multiple pages (wizard) ?

2011-05-16 Thread Stephan Petzl
Me too :) On May 16, 12:43 am, oscar balladares wrote: > If you use JQuery it should be easy. > > There is a way to hide/show elements. > > You can render the form in two > > >     >         render field 1 >         render field 2 >         Go to next page >     > >     >         render fie

[symfony-users] Re: Storing data on "anonymous" user

2011-05-14 Thread Stephan Petzl
would be interested in this feature as well! On May 11, 5:56 pm, Problematic wrote: > I'm currently working on developing an app that will not only accept > user registrations, but will allow visitors to go through almost the > entire flow of the site without creating an account or logging in. Ou

[symfony-users] Re: How to setup an easy upgradeable Symfony2 app

2011-04-24 Thread Stephan Petzl
Thanks for the tip. the problem with this approach is, that I have several bundles included via submodules in my vendors dir. so AFAIK it's not possible for me to ignore it. Any ideas how to solve that problem? I don't get it why there is a special vendors script, when gitmodules could do the same

[symfony-users] [Symfony2] How to setup an easy upgradeable Symfony2 app

2011-04-23 Thread Stephan Petzl
Hi there! I have following problem: I've downloaded Symfony PR10 and created a lokal git repo, including the "vendors" directory. So far so good. But now I have serious troubles upgrading to PR12. What i tried is: 1. added the symfony-standard github-repo as new remote to my local repo 2. created

[symfony-users] Re: The S2 blog is not being updated!!!

2011-04-17 Thread Stephan Petzl
me too!!! On Apr 17, 6:59 pm, oscar balladares wrote: > :'(  Anybody knows when 'A week of Symfony' is going to be updated?? > > I really enjoy reading it!!! -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message

[symfony-users] [Symfony2] get the entityManager inside of webtestcases

2011-04-17 Thread Stephan Petzl
Hi there! I was wondering how I could retrieve the entitymanager inside of a WebTestCase instance, e.g. to look whether a entity was really created in DB during the testrun. Any ideas on that? BR Stephan -- If you want to report a vulnerability issue on symfony, please send it to security at

[symfony-users] Re: Symfony2 and Netbeans

2011-04-11 Thread Stephan Petzl
I used Netbeans for a lot of other PHP projects already, and I have to say that I'm a bit worried about the missing autocompletion for *a lot of* stuff of Symfony2. That's mostly because of the dependency injection container as far as i see: when you write $this->get('doctrine.orm.entitymanage