Profile Custom Field Data Gets Lost After First Time Vendor Admin Login. Core Bug?

Hello,

if a new vendor admin logs into the vendor admin (vendor.php) for the first time, the system wants the vendor admin to change the password. After changing the password all profile custom field data gets lost / cleared. For example we have defined one additional profile field "occupation" under "Profile fields" - the value of this custom fields gets cleared after first time login of vendor admin into the admin area.

Why??? Did we found a bug in the core system of cs cart? We have also tested it with a clean installation of CS Cart => same problem!

The CS Cart version is: 4.2.2

Best regards,

Alex

Hello,

if a new vendor admin logs into the vendor admin (vendor.php) for the first time, the system wants the vendor admin to change the password. After changing the password all profile custom field data gets lost / cleared. For example we have defined one additional profile field "occupation" under "Profile fields" - the value of this custom fields gets cleared after first time login of vendor admin into the admin area.

Why??? Did we found a bug in the core system of cs cart? We have also tested it with a clean installation of CS Cart => same problem!

The CS Cart version is: 4.2.2

Best regards,

Alex

Please try to replace the following line in the app/functions/fn.users.php file:

$has_permissions = false;

with these ones:

 if ($auth['user_id'] != $user_data['user_id']) {
                $has_permissions = false;
            }

If it does not help please contact us via HelpDesk.

Please try to replace the following line in the app/functions/fn.users.php file:

$has_permissions = false;

with these ones:

 if ($auth['user_id'] != $user_data['user_id']) {
                $has_permissions = false;
            }

If it does not help please contact us via HelpDesk.

In fn.users.php there is no such line: "$has_permissions = false;"

I want to mention that we dont want the "change password" dialog to disappear on first time vendor admin login, but after changing the password the custom profile field data must not be cleared.

Thanks for any further information / help!

In fn.users.php there is no such line: "$has_permissions = false;"

I want to mention that we dont want the "change password" dialog to disappear on first time vendor admin login, but after changing the password the custom profile field data must not be cleared.

Thanks for any further information / help!

In this case we should examine the issue on your server. Please contact us via HelpDesk.