That's what I thought is happening, but since the data-dump is raw that,
shouldn't data-load load the raw data ? is there any existing method to load
the raw dumped data directly to the DB ?

thanks for your reply.

On Tue, Oct 13, 2009 at 10:19 AM, Gábor Fási <maerl...@gmail.com> wrote:

>
> The data-dump task exports the raw values found in the database, ie.
> the encrypted ones. While doing the data-load, the plugin's
> overwritten setPassword() setter is called, that expect to get a
> plaintext value, so it encodes it. Your passwords get corrupted
> because of being encrypted again.
>
> On Tue, Oct 13, 2009 at 16:13, Pablo Godel <pgo...@gmail.com> wrote:
> > I am using sfDoctrineGuard plugin. When I run doctrine:data-dump and then
> > data-load the passwords which are encripted by default with sha1 get
> > corrupted.
> >
> > The passwords are ok in data/fixtures/data.yml but when running data-load
> I
> > see the insert queries with a new value.
> >
> > Is this a bug? Is there something that I am missing?
> >
> > Thanks
> >
> > --
> > Pablo Godel
> >
> > >
> >
>
> >
>


-- 
Pablo Godel
ServerGrove Networks
http://servergrove.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