FrontEndUsers change user settings bug?
Posted: Thu Nov 27, 2008 7:59 pm
Hello,
I am trying to make FrontEndUsers module 1.5.3 work on CMS-MS 1.4.1. After user registers using SelfRegistration 1.2.1 module everything is fine - all custom fields such as email, first name and last name are saved.
But when user logs in and goes to change his settings all properties are deleted. I can change my password but if I change anything else (or even if not) and hit "submit" button all properties get deleted.
I turned on Mysql query logging and noticed that the only queries that are logged after I hit "submit" in change settings form are:
DELETE FROM cms_module_feusers_properties WHERE userid='3'
...
SELECT * FROM cms_module_feusers_properties WHERE userid='3'
...
SELECT * FROM cms_module_feusers_properties WHERE title='email' AND userid='3'
...
SELECT * FROM cms_module_feusers_properties WHERE title='fname' AND userid='3'
...
SELECT * FROM cms_module_feusers_properties WHERE title='lname' AND userid='3'
and that's it .. There is a delete statement but no "insert" statement so all data gets lost..
I have a "change settings" site defined with only content {cms_module module=FrontEndUsers form='changesettings'}
Am I doing something wrong or is this a bug?
I am trying to make FrontEndUsers module 1.5.3 work on CMS-MS 1.4.1. After user registers using SelfRegistration 1.2.1 module everything is fine - all custom fields such as email, first name and last name are saved.
But when user logs in and goes to change his settings all properties are deleted. I can change my password but if I change anything else (or even if not) and hit "submit" button all properties get deleted.
I turned on Mysql query logging and noticed that the only queries that are logged after I hit "submit" in change settings form are:
DELETE FROM cms_module_feusers_properties WHERE userid='3'
...
SELECT * FROM cms_module_feusers_properties WHERE userid='3'
...
SELECT * FROM cms_module_feusers_properties WHERE title='email' AND userid='3'
...
SELECT * FROM cms_module_feusers_properties WHERE title='fname' AND userid='3'
...
SELECT * FROM cms_module_feusers_properties WHERE title='lname' AND userid='3'
and that's it .. There is a delete statement but no "insert" statement so all data gets lost..
I have a "change settings" site defined with only content {cms_module module=FrontEndUsers form='changesettings'}
Am I doing something wrong or is this a bug?