[symfony-users] Re: After editing the data of a member logged, loggingin is not possible

2010-03-30 Thread Tom Ptacnik
Ok, then there are some more steps you have to do to make it work.
Just creating the module based on the database isn't enough.

Look into the PluginsfGuardUser and other classes in this plugin.
There are some methods you have to copy into your generated class
(classes), or maybe you can inherit it...




On 28 bře, 18:01, Javier Garcia tirengar...@gmail.com wrote:
 To delimit the problem, i have created a module based just on
 sfGuardUser, so no inherits:

  php symfony doctrine:generate-module --with-show frontend
 guardausuario sfGuardUser

 These are my steps:

 - Install symfony  sfDoctrineGuardUser
 - Create a module based on sfGuardUser called 'foo'.
 - Execute 'frontend_dev.php/foo/edit/id/X' and push the 'Save' button.
 - The value of 'password' changes.

 Javi

 On Mar 28, 1:53 pm, Tom Ptacnik to...@tomor.cz wrote:



  Maybe you havent in your model the method which are in
  PluginsfGuardUser ?

  From which class is your model inherited?

  In PluginsfGuardUser there is an method setPassword() overwritten - it
  handle the not changing blank password

  On 26 bře, 19:02, Javier Garcia tirengar...@gmail.com wrote:

   Even if i unset 'password' field, it happens the same..

   Javi

   On Mar 26, 5:45 pm, Javier Garcia tirengar...@gmail.com wrote:

Hi again,

i have realized that when i push the Save button in edit form, the
value of the field 'password' changes (well its encrypted version).
Why?

I tried this time with symfony 1.3 and it happens the same.

Javi

On Mar 26, 2:06 pm, Javier Garcia tirengar...@gmail.com wrote:

 Hi,

 i have installed sfDoctrineGuardUser and have created this model that
 inherits sfGuardUser model:

 Usuario:
    inheritance:
      extends: sfGuardUser
      type: simple
    columns:
      nombre_apellidos: string(60)
      sexo: boolean
      fecha_nac: date
      provincia: string(60)
      localidad: string(255)
      email_address: string(255)
      avatar: string(255)
      avatar_mensajes: string(255)

 I have also created a module called 'miembros' based on that model.

 Well, I log normally through sfGuardAuth/signin, then i go to
 miembros/edit/id/$id_of_the_member_i_used_to_log_in and push [Saved]
 button. Then i logout.

 If i try to log in again, it says: The username and/or password is
 invalid.

 If i load again the data member in the database, loggingin works 
 again.

 Any idea?

 Sf 1.2

 Javi

-- 
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

To unsubscribe from this group, send email to 
symfony-users+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


[symfony-users] Re: After editing the data of a member logged, loggingin is not possible

2010-03-28 Thread Tom Ptacnik
Maybe you havent in your model the method which are in
PluginsfGuardUser ?

From which class is your model inherited?

In PluginsfGuardUser there is an method setPassword() overwritten - it
handle the not changing blank password


On 26 bře, 19:02, Javier Garcia tirengar...@gmail.com wrote:
 Even if i unset 'password' field, it happens the same..

 Javi

 On Mar 26, 5:45 pm, Javier Garcia tirengar...@gmail.com wrote:



  Hi again,

  i have realized that when i push the Save button in edit form, the
  value of the field 'password' changes (well its encrypted version).
  Why?

  I tried this time with symfony 1.3 and it happens the same.

  Javi

  On Mar 26, 2:06 pm, Javier Garcia tirengar...@gmail.com wrote:

   Hi,

   i have installed sfDoctrineGuardUser and have created this model that
   inherits sfGuardUser model:

   Usuario:
      inheritance:
        extends: sfGuardUser
        type: simple
      columns:
        nombre_apellidos: string(60)
        sexo: boolean
        fecha_nac: date
        provincia: string(60)
        localidad: string(255)
        email_address: string(255)
        avatar: string(255)
        avatar_mensajes: string(255)

   I have also created a module called 'miembros' based on that model.

   Well, I log normally through sfGuardAuth/signin, then i go to
   miembros/edit/id/$id_of_the_member_i_used_to_log_in and push [Saved]
   button. Then i logout.

   If i try to log in again, it says: The username and/or password is
   invalid.

   If i load again the data member in the database, loggingin works again.

   Any idea?

   Sf 1.2

   Javi

-- 
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

To unsubscribe from this group, send email to 
symfony-users+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


[symfony-users] Re: After editing the data of a member logged, loggingin is not possible

2010-03-28 Thread Javier Garcia
To delimit the problem, i have created a module based just on
sfGuardUser, so no inherits:

 php symfony doctrine:generate-module --with-show frontend
guardausuario sfGuardUser

These are my steps:

- Install symfony  sfDoctrineGuardUser
- Create a module based on sfGuardUser called 'foo'.
- Execute 'frontend_dev.php/foo/edit/id/X' and push the 'Save' button.
- The value of 'password' changes.

Javi


On Mar 28, 1:53 pm, Tom Ptacnik to...@tomor.cz wrote:
 Maybe you havent in your model the method which are in
 PluginsfGuardUser ?

 From which class is your model inherited?

 In PluginsfGuardUser there is an method setPassword() overwritten - it
 handle the not changing blank password

 On 26 bře, 19:02, Javier Garcia tirengar...@gmail.com wrote:

  Even if i unset 'password' field, it happens the same..

  Javi

  On Mar 26, 5:45 pm, Javier Garcia tirengar...@gmail.com wrote:

   Hi again,

   i have realized that when i push the Save button in edit form, the
   value of the field 'password' changes (well its encrypted version).
   Why?

   I tried this time with symfony 1.3 and it happens the same.

   Javi

   On Mar 26, 2:06 pm, Javier Garcia tirengar...@gmail.com wrote:

Hi,

i have installed sfDoctrineGuardUser and have created this model that
inherits sfGuardUser model:

Usuario:
   inheritance:
     extends: sfGuardUser
     type: simple
   columns:
     nombre_apellidos: string(60)
     sexo: boolean
     fecha_nac: date
     provincia: string(60)
     localidad: string(255)
     email_address: string(255)
     avatar: string(255)
     avatar_mensajes: string(255)

I have also created a module called 'miembros' based on that model.

Well, I log normally through sfGuardAuth/signin, then i go to
miembros/edit/id/$id_of_the_member_i_used_to_log_in and push [Saved]
button. Then i logout.

If i try to log in again, it says: The username and/or password is
invalid.

If i load again the data member in the database, loggingin works again.

Any idea?

Sf 1.2

Javi

-- 
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

To unsubscribe from this group, send email to 
symfony-users+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


[symfony-users] Re: After editing the data of a member logged, loggingin is not possible

2010-03-28 Thread Javier Garcia
To delimit the problem, i have created a module based just on
sfGuardUser, so no inherits:

 php symfony doctrine:generate-module --with-show frontend
guardausuario sfGuardUser

These are my steps:

- Install symfony  sfDoctrineGuardUser
- Create a module based on sfGuardUser called 'foo'.
- Execute 'frontend_dev.php/foo/edit/id/X' and push the 'Save' button.
- The value of 'password' changes.

Javi


On Mar 28, 1:53 pm, Tom Ptacnik to...@tomor.cz wrote:
 Maybe you havent in your model the method which are in
 PluginsfGuardUser ?

 From which class is your model inherited?

 In PluginsfGuardUser there is an method setPassword() overwritten - it
 handle the not changing blank password

 On 26 bře, 19:02, Javier Garcia tirengar...@gmail.com wrote:

  Even if i unset 'password' field, it happens the same..

  Javi

  On Mar 26, 5:45 pm, Javier Garcia tirengar...@gmail.com wrote:

   Hi again,

   i have realized that when i push the Save button in edit form, the
   value of the field 'password' changes (well its encrypted version).
   Why?

   I tried this time with symfony 1.3 and it happens the same.

   Javi

   On Mar 26, 2:06 pm, Javier Garcia tirengar...@gmail.com wrote:

Hi,

i have installed sfDoctrineGuardUser and have created this model that
inherits sfGuardUser model:

Usuario:
   inheritance:
     extends: sfGuardUser
     type: simple
   columns:
     nombre_apellidos: string(60)
     sexo: boolean
     fecha_nac: date
     provincia: string(60)
     localidad: string(255)
     email_address: string(255)
     avatar: string(255)
     avatar_mensajes: string(255)

I have also created a module called 'miembros' based on that model.

Well, I log normally through sfGuardAuth/signin, then i go to
miembros/edit/id/$id_of_the_member_i_used_to_log_in and push [Saved]
button. Then i logout.

If i try to log in again, it says: The username and/or password is
invalid.

If i load again the data member in the database, loggingin works again.

Any idea?

Sf 1.2

Javi

-- 
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

To unsubscribe from this group, send email to 
symfony-users+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


[symfony-users] Re: After editing the data of a member logged, loggingin is not possible

2010-03-26 Thread Javier Garcia
Hi again,

i have realized that when i push the Save button in edit form, the
value of the field 'password' changes (well its encrypted version).
Why?

I tried this time with symfony 1.3 and it happens the same.

Javi



On Mar 26, 2:06 pm, Javier Garcia tirengar...@gmail.com wrote:
 Hi,

 i have installed sfDoctrineGuardUser and have created this model that
 inherits sfGuardUser model:

 Usuario:
    inheritance:
      extends: sfGuardUser
      type: simple
    columns:
      nombre_apellidos: string(60)
      sexo: boolean
      fecha_nac: date
      provincia: string(60)
      localidad: string(255)
      email_address: string(255)
      avatar: string(255)
      avatar_mensajes: string(255)

 I have also created a module called 'miembros' based on that model.

 Well, I log normally through sfGuardAuth/signin, then i go to
 miembros/edit/id/$id_of_the_member_i_used_to_log_in and push [Saved]
 button. Then i logout.

 If i try to log in again, it says: The username and/or password is
 invalid.

 If i load again the data member in the database, loggingin works again.

 Any idea?

 Sf 1.2

 Javi

-- 
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

To unsubscribe from this group, send email to 
symfony-users+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.


[symfony-users] Re: After editing the data of a member logged, loggingin is not possible

2010-03-26 Thread Javier Garcia
Even if i unset 'password' field, it happens the same..

Javi

On Mar 26, 5:45 pm, Javier Garcia tirengar...@gmail.com wrote:
 Hi again,

 i have realized that when i push the Save button in edit form, the
 value of the field 'password' changes (well its encrypted version).
 Why?

 I tried this time with symfony 1.3 and it happens the same.

 Javi

 On Mar 26, 2:06 pm, Javier Garcia tirengar...@gmail.com wrote:

  Hi,

  i have installed sfDoctrineGuardUser and have created this model that
  inherits sfGuardUser model:

  Usuario:
     inheritance:
       extends: sfGuardUser
       type: simple
     columns:
       nombre_apellidos: string(60)
       sexo: boolean
       fecha_nac: date
       provincia: string(60)
       localidad: string(255)
       email_address: string(255)
       avatar: string(255)
       avatar_mensajes: string(255)

  I have also created a module called 'miembros' based on that model.

  Well, I log normally through sfGuardAuth/signin, then i go to
  miembros/edit/id/$id_of_the_member_i_used_to_log_in and push [Saved]
  button. Then i logout.

  If i try to log in again, it says: The username and/or password is
  invalid.

  If i load again the data member in the database, loggingin works again.

  Any idea?

  Sf 1.2

  Javi

-- 
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

To unsubscribe from this group, send email to 
symfony-users+unsubscribegooglegroups.com or reply to this email with the words 
REMOVE ME as the subject.