Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • fusiondirectory fusiondirectory
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 33
    • Issues 33
    • List
    • Boards
    • Service Desk
    • Milestones
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • fusiondirectoryfusiondirectory
  • fusiondirectoryfusiondirectory
  • Issues
  • #6189
Closed
Open
Issue created Aug 30, 2021 by bmortier@bmortierMaintainer

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

  1. Create a template
  2. Create a server
  3. Apply the template on the server
  4. 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
Assignee
Assign to
Time tracking