Something went wrong while setting issue due date.
Apply a template on a server activate all the services
Closed
Apply a template on a server activate all the services
Description
Apply a template on a server activate all the services
Distribution Name and Version
Debian buster
FusionDirectory Version
1.4
Plugin with the defect
systems
PHP version used
7
Origin of php packages
Debian
Steps to Reproduce
- Create a template
- Create a server
- Apply the template on the server
- You will see the services are all activate for your server
Expected behavior:
The services must only be enabled if the template have services
Actual behavior:
It activates all the services even if the template not got any
Reproduces how often: 100
Additional Information
Found by the selenium tests
Template
✘ Apply template
│
│ Failed asserting that object cn=templatecn,ou=servers,ou=systems,dc=test-fusiondirectory,dc=org is existing (exception 0)
│
│ /selenium/automated-testing/FusionDirectoryTestCase.php:1034
│ /selenium/automated-testing/plugins/systems/TemplateTest.php:79