You have been subscribed to a public bug:

Server v6.0.2 with web client.

If we change any users email address it changes for ALL users!
I've put in a brand-new dummy email address (fred@...) and it does replicate. 
Seems the DB update command is missing a WHERE clause.

Please push this to crtical as it affects data integrity for all users!!

Happy to send screenshots privately.


Checking in psql...
res_users.email is null and the res_partner_address.email is being 
shown/updated.
The wrong table is being referenced in the code. There is only 1 occurence of 
the updated email address in the Postgres database (res_partner_address.email)

crm=# select count(*) from res_users;
 count
-------
     7
(1 row)

crm=# select count(*) from res_users where email is null;
 count
-------
     7
(1 row)

crm=# select id, email from res_partner_address where email like 
'%xxxxxxxx.com';
 id | email
----+-----------------------
  1 | [email protected]
(1 row)

** Affects: openobject-server
     Importance: Undecided
         Status: New

-- 
Editing user's email changes all users' emails
https://bugs.launchpad.net/bugs/805375
You received this bug notification because you are a member of OpenERP CTP, 
which is subscribed to OpenERP Server.

_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help   : https://help.launchpad.net/ListHelp

Reply via email to