Applying a template to a user removes the mail tab
When applying a template to an existing object, fields which are not modified by the template should be left untouched.
Distribution Name and Version
PHP version used
Origin of php packages
Steps to Reproduce
- Create a template which only sets the description
- Apply it to a user which has an active mail tab
Mail tab should be left untouched
Mail tab information is lost
Reproduces how often:
The password is also changed, because default values when creating a template saves setting password method to SSHA with an empty value. Not sure what is the best way to fix this (changing the default value or the way we handle it) but it should be looked into.