[symfony-users] Re: ysfDimensionsPlugin and cache:clear

2010-12-16 Thread Phil Moorhouse
Just to be clear it looks like this is throwing warnings on every CLI task that doesn't specify an app or env, not just cache-clear, which leads me to believe I must've missed something? Anyone else seeing this behaviour? -- If you want to report a vulnerability issue on symfony, please send

[symfony-users] Re: Trying to restrict input on a form based on passed in parameter

2010-12-16 Thread dmitrypol
Job and job_detail are created in two separate steps. User can save a job and come back later to add or edit job_detail. So when I am creating new job_detail I have no knowledge to to which job it is associated unless I pass that as a parameter to the form so . In my job_detail

[symfony-users] No embed form bind

2010-12-16 Thread HAUSa
Weird... when I bind my form, the embedded forms don't receive the values. This is my action: $oForm = new UserSocialNetworkLinksForm(NULL, array('linked' = $aLinked)); if($oRequest-isMethod('post')){

[symfony-users] Re: Trying to restrict input on a form based on passed in parameter

2010-12-16 Thread Gabriel Petchesi
You could use something similar available in sfGuardUser with the sf_guard_user - profile relationship. See the code here: http://svn.symfony-project.com/plugins/sfGuardPlugin/branches/1.3/lib/form/sfGuardUserAdminForm.class.php Relevant piece of code: // profile form?

[symfony-users] How do I explicitly specify Doctrine connection name when connecting to multiple DBs using Symfony 1.4.8 / Doctrine 1.2?

2010-12-16 Thread dmitrypol
I am using Symfony 1.4.8 / Doctrine 1.2 to connect to multiple DBs. In my_project_name/config/databases.yml I created connections – db1st, db2nd, db3rd. I built my schema from existing DBs (doctrine:build- schema) and generated code (doctrine:build --model --forms -- filters). I created a module

[symfony-users] Re: Call to undefined method sfRoute::getObject() when try to activate an affiliate in the backend

2010-12-16 Thread guiguiboy
Hi, Do you use source code control for this project ? You seem to have difference between your dev (local) environment and your prod (online) environment. Make a diff between your local routing and prod routing to see what's going on. Guillaume B. On 15 déc, 16:54, scvroin scvr...@yahoo.com

[symfony-users] Re: No embed form bind

2010-12-16 Thread guiguiboy
Hi, Have you tried doing a print_r on $oForm-getValues() ? Guillaume B. On 16 déc, 19:31, HAUSa jeroen_heeft_behoefte_aan_r...@hotmail.com wrote: Weird... when I bind my form, the embedded forms don't receive the values. This is my action:                 $oForm = new

[symfony-users] Where to put 'Unit of Work' code in Symfony 1.4.x

2010-12-16 Thread Dennis
I have a (for the sake of argument) a schema like this: User - UserAddr - Addr When I add a user with a custom form, I have or generate enough info for both the User and the Addr entities. My questions are: The code that I write to generate input such as: IP address to physical addres

Re: [symfony-users] How do I explicitly specify Doctrine connection name when connecting to multiple DBs using Symfony 1.4.8 / Doctrine 1.2?

2010-12-16 Thread Georg
This works for me. I can use tables from all databases in one action. Are you sure that the class is bound to the correct database? Am 16.12.2010 21:43, schrieb dmitrypol: I am using Symfony 1.4.8 / Doctrine 1.2 to connect to multiple DBs. In my_project_name/config/databases.yml I created