It looks like the problem is in the fixtures, not in schema...don't
you think ?

see
>> doctrine  Loading data fixtures from 
>> "/lan/http/symfony/projects/cms/data/fixtures"
Segmentation fault

Other thing I would advice is remove parts of schema of AclUser or
parts of fixtures for AclUser and debug which concrete part create
this segmentation fault problem.


On 11 led, 16:37, lorenx <lor...@gmail.com> wrote:
> hi and thanks for your reply!
>
> the problem is related to AclUser (if i remove both entries, all works
> as expected)
> the AclUser schema is the following:
>
> AclUser:
>   tableName: acl_user
>   columns:
>     id:
>       type: integer(4)
>       primary: true
>       autoincrement: true
>     username:
>       type: string(50)
>       notnull: true
>       notblank: true
>       nospace: true
>       minlength: 2
>     password:
>       type: string(50)
>       notnull: true
>       notblank: true
>       nospace: true
>       minlength: 6
>     email:
>       type: string(50)
>       notnull: true
>       notblank: true
>       nospace: true
>       email: true
>     last_signin: timestamp(25)
>   relations:
>     AclGroups:
>       refClass: AclGroupUser
>       class: AclGroup
>       type: one
>   actAs:
>     Timestampable:
>       updated:
>         onInsert: false
>     SoftDelete:
>     Versionable:
>       versionColumn: version
>       className: %CLASS%Version
>       auditLog: true
>
> i cannot understand the problem...
>
> On Jan 11, 4:16 pm, Stéphane <stephane.er...@gmail.com> wrote:
>
>
>
> > Try minimizing your schema (with only two classes for example) without any _
> > in your fields (prefer camelCase) and tell us.
>
> > Cheers,
>
> > Before Printing, Think about Your Environmental Responsibility!
> > Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!
>
> > On Mon, Jan 11, 2010 at 4:13 PM, lorenx <lor...@gmail.com> wrote:
> > > any suggestion?
> > > thanks...
>
> > > On Jan 8, 3:23 pm, lorenx <lor...@gmail.com> wrote:
> > > > hi all,
> > > > have the couple schema/data that worked with symfony 1.2 but now, with
> > > > v1.4, i recieve:
>
> > > > >> doctrine  Loading data fixtures from
> > > "/lan/http/symfony/projects/cms/data/fixtures"
>
> > > > Segmentation fault
>
> > > > it seems a fixture problem cause
> > > > php symfony doctrine:build --db
> > > > works as expected.
>
> > > > this is my data.yml:
>
> > > > Menu:
> > > >   _menu_main:
> > > >     label: home
> > > >     module: main
> > > >     children: []
> > > >   _menu_menu:
> > > >     label: menu
> > > >     module: menu
> > > >     AclCredential: _aclcredential_all
> > > >     children: []
> > > >   _menu_acl:
> > > >     label: acl
> > > >     children:
> > > >       _menu_aclgroup:
> > > >         label: groups
> > > >         module: aclgroup
> > > >         AclCredential: _aclcredential_acl
> > > >         children: []
> > > >       _menu_aclcredential:
> > > >         label: credentials
> > > >         module: aclcredential
> > > >         AclCredential: _aclcredential_acl
> > > >         children: []
> > > >       _menu_acluser:
> > > >         label: users
> > > >         module: acluser
> > > >         AclCredential: _aclcredential_acl
> > > >         children: []
>
> > > > AclGroup:
> > > >   _aclgroup_admin:
> > > >     name: admin
> > > >     description: who can do everything
> > > >   _aclgroup_editor:
> > > >     name: editor
> > > >     description: who can edit contents
>
> > > > AclUser:
> > > >   _acluser_lo:
> > > >     username: username1
> > > >     password: password1
> > > >     email: ema...@domain.com
> > > >     AclGroups: [_aclgroup_admin]
> > > >   _acluser_test:
> > > >     username: username2
> > > >     password: password2
> > > >     email: ema...@domain.com
> > > >     AclGroups: [_aclgroup_editor]
>
> > > > AclCredential:
> > > >   _aclcredential_all:
> > > >     name: all
> > > >     description: passepartout
> > > >     AclGroups: [_aclgroup_admin]
> > > >   _aclcredential_acl:
> > > >     name: acl
> > > >     description: who can manage users
> > > >     AclGroups: [_aclgroup_admin]
> > > >   _aclcredential_contents:
> > > >     name: contents
> > > >     description: who can manage contents
> > > >     AclGroups: [_aclgroup_editor]
>
> > > > what has changed from 1.2 to 1.4?
> > > > thanks!
>
> > > --
> > > You received this message because you are subscribed to the Google Groups
> > > "symfony users" group.
> > > To post to this group, send email to symfony-us...@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > > symfony-users+unsubscr...@googlegroups.com<symfony-users%2bunsubscr...@goog
> > >  legroups.com>
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/symfony-users?hl=en.
-- 
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@googlegroups.com.
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en.


Reply via email to