Yeah, i think we're on a lead :

i have sfGuardUserProfile declaration in my project like in the
documentation :


sfGuardUserProfile:
  inheritance:
    type: simple
    extends: sfGuardUserProfileBasis
  columns:
    user_id: { type: integer, notnull: true }
    birthday:   { type: date, notnull: true }
    is_premium:        { type: boolean, notnull: true, default: 0}
    membership_id:     { type: integer, default: null}
    credits:           { type: integer, notnull: true, default: 0}
    is_illimited:      { type: boolean, notnull:true, default: 0}
    referrer_id:       { type: integer, notnull:false}
    newsletter:      { type: boolean, notnull:true, default: true}
  relations:
    stReferrer:        { onDelete: CASCADE, local: referrer_id,
foreign: id }
    User:
      class: sfGuardUser
      foreign: id
      local: user_id
      type: one
      onDelete: cascade
      foreignType: one
      foreignAlias: Profile


I've tryied removing (after backuping my projet) the form/ model/
filters/ and i still got the same error

Do i have to modify something in my schema.yml ?

Thanks






On 28 juil, 08:37, Grzegorz Śliwiński <fi...@fizyk.net.pl> wrote:
> Well...
> I did, twice, once developing it on my dev project, and second time
> upgrading my live project :)
>
> Do you have sfGuardUserProfile declaration in your project's
> schema.yml? Do you extend the default declaration in any way? Like
> additional columns, relations?
> Also, you might get problems with models that are from the previous
> version in lib/models/doctrine and lib/model/doctrine/base, and with
> new profile declaration they are placed in lib/model/doctrine/
> sfForkedDoctrineApplyPlugin
>
> On 28 Lip, 01:52, Tristan <tristan.bessou...@gmail.com> wrote:
>
> > Have you removed
> > or cut sfGuardUserProfile declaration from schema.yml?
>
> > Definitly not, that's where i store the user information since you
> > cannot override sfGuardUser methods.
>
> > Is anyone has tested the latest version of the plugin ?
>
> > Cause either i'm missing a real important thing and it's all my fault,
> > or either, the plugin is buggy ;O

-- 
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 users" group.
To post to this group, send email to symfony-users@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