[symfony-users] Re: Form classes not generated for certain models

2011-02-13 Thread Gabriel Petchesi
http://trac.symfony-project.org/wiki/ReservedWords The list is not complete and up to date (created for Symfony 1.0 + Propel 1.2) but it can give you an idea about the problem. What happens if you rename it to MyCondition or something else? gabriel -- If you want to report a vulnerability

[symfony-users] Problem with groups in FOS Userbundle

2011-02-13 Thread scott
I am new to Symfony and have encountered a problem that I am having difficulty tracing. I have the FOS UserBundle to manage accounts handling everything such as creating editing listing etc information for new users. However, I have tried to set up the use of groups and have encountered teh followi

Re: [symfony-users] [Symfony2]Problem with custom listeners

2011-02-13 Thread Christophe COEVOET
Le 13/02/2011 23:47, Yohan 'rouKs' G. a écrit : Hi all, I've got a problem with custom listener after upgrading to PR6. Here my config : services: kernel.listener.page_listener: class: Bundle\PageBundle\Listener\PageListener tags: - { name: kernel.listener }

[symfony-users] [Symfony2]Problem with custom listeners

2011-02-13 Thread Yohan 'rouKs' G.
Hi all, I've got a problem with custom listener after upgrading to PR6. Here my config : services: kernel.listener.page_listener: class: Bundle\PageBundle\Listener\PageListener tags: - { name: kernel.listener } And i have this error : InvalidArgumentException: S

[symfony-users] Form classes not generated for certain models

2011-02-13 Thread Rytis Daugirdas
Hello, Forms and filters are not generated for a model named "Condition" (in schema.yml). I tested this on a completely new project. Model classes are generated just fine. There are no error messages, the files in question are simply not being created. Is this a bug or maybe there is a list of res

Re: [symfony-users] Problem while trying the 4 day of jobeet project

2011-02-13 Thread rahhal mahassen
Hi, Here is my source code of schema.yml: #*# YAML Template.* *# config/doctrine/schema.yml* *Jobeet1Category:* * actAs: { Timestampable: ~ }* * columns:* *name: { type: string(255), notnull: true, unique: true }* * * *Jobeet1Job:* * actAs: { Timestampable: ~ }* * columns:* *category_i

[symfony-users] Re: [symfony2][PR6] - create form with setDataClass and multiple entities

2011-02-13 Thread macene
Thanks!!! It works fine! But I notice a strange behaviour when I try to validate datas in controller. The validator returns "This value should not be blank" two times for each field with @validation:NotBlank() if I submit the form empty This behaviour occurs only with fields of the second entity (

[symfony-users] Re: Simple form seems never valid, no error messages?

2011-02-13 Thread Frenck
OK, So now what? Report an bug? ../Frenck On Feb 12, 10:58 pm, Fabien wrote: > Same problem here. > It seems that $_POST is not populated and a print_r($this->get('request')) > show no POST properties filled, whereas HTML form > > seems valid. > > On 11 fév, 18:17, Frenck wrote: > > > > > > >

Re: [symfony-users] Problem while trying the 4 day of jobeet project

2011-02-13 Thread Srivatsa Prasad
Hi, Post your schema, i will have a look and try to help u . On Sun, Feb 13, 2011 at 3:10 AM, rahhal mahassen wrote: > Hello, > I'm a new bee using symfony.I tried to do the fourth day of the jobeet > project.I have this error that i can't solve it(it's shown above). > My executeShow function in

[symfony-users] Symfony 1.4.9, sfPropel15Plugin(1.6 branch) and sluggable behaviour.

2011-02-13 Thread Adam Frame
For whoever may be using the above combination. Small problem using in symfony 1.4 project regarding sluggable behaviour. When adding primaryString: true to the schema of an article_i18n table, it generates two __toString() methods in /om/BaseArticle.class.php when building forms, causing an e

Re: [symfony-users] Symfony 1 like tasks in Symfony 2?

2011-02-13 Thread Christophe COEVOET
Le 13/02/2011 14:04, pzwosta a écrit : Hi in Symfony 1 I could add tasks by extending a sfBaseTask, provide configure and execute methods and store the class file in the tasks directory. I assume Symfony 2 has something similar. I'd guess something around the command class but no idea where to

[symfony-users] Symfony 1 like tasks in Symfony 2?

2011-02-13 Thread pzwosta
Hi in Symfony 1 I could add tasks by extending a sfBaseTask, provide configure and execute methods and store the class file in the tasks directory. I assume Symfony 2 has something similar. I'd guess something around the command class but no idea where to register, which methods to provide () and

Re: [symfony-users] [Symfony 2 / Twig] Design issue for templates in a CMS context

2011-02-13 Thread Fabien Potencier
On 2/12/11 12:12 PM, dbenjamin wrote: Hi, I just can't find a way to achieve an use case with a modular project and Twig. Maybe i'm missing something. Let's consider a CMS context and a NewsBundle bundle ("module"). The user can create a page in his website structure, i.e : "News item page". T