Something went wrong while setting issue due date.
Applying a template to a user removes the mail tab
Closed
Applying a template to a user removes the mail tab
Description
When applying a template to an existing object, fields which are not modified by the template should be left untouched.
Distribution Name and Version
Debian
FusionDirectory Version
1.4-dev
PHP version used
7.0
Origin of php packages
Debian
Steps to Reproduce
- Create a template which only sets the description
- Apply it to a user which has an active mail tab
Expected behavior:
Mail tab should be left untouched
Actual behavior:
Mail tab information is lost
Reproduces how often:
Additional Information
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.