Something went wrong while setting issue due date.
I cannot use workstation template
Closed
I cannot use workstation template
Description
When I try to use a workstation template it does not work. I get a screen saying the template is not found.
Distribution Name and Version
Debian Jessie
FusionDirectory Version
1.3-dev (demo-dev)
Plugin with the defect
Systems
PHP version used
5.6.30
Origin of php packages
From Debian Jessie repository (official)
Steps to Reproduce
- Create a template system
- Try to use it
- Get at the page like you don't have any template
Expected behavior:
Create a new object with the template that we want use.
Actual behavior:
When we want use the template it finish on the page like we don't have any template.
Reproduces how often: 100%
Additional Information
PHP error "Unknown template "cn=template_cn,ou=templates,ou=workstations,ou=systems,dc=fusiondirectory,dc=org""
Trace[1]: function trigger_error File: /usr/share/fusiondirectory/include/simpleplugin/class_simpleManagement.inc (Line 43) Type: -
Arguments: "Unknown template "cn=template_cn,ou=templates,ou=workstations,ou=systems,dc=fusiondirectory,dc=org""
Trace[2]: class templateDialog / function __construct File: /usr/share/fusiondirectory/include/simpleplugin/class_simpleManagement.inc (Line 713) Type: method
Arguments: CLASS: systemManagement,"WORKSTATION","cn=template_cn,ou=templates,ou=workstations,ou=systems,dc=fusiondirectory,dc=org"
Trace[3]: class simpleManagement / function newEntryFromTemplate File: /usr/share/fusiondirectory/include/simpleplugin/class_simpleManagement.inc (Line 928) Type: method
Arguments: "template_apply",array("cn=template_cn,ou=templates,ou=workstations,ou=systems,dc=fusiondirectory,dc=org"),array(array("cn=template_cn,ou=templates,ou=workstations,ou=systems,dc=fusiondirectory,dc=org"),"template_apply")
Trace[4]: class simpleManagement / function handleActions File: /usr/share/fusiondirectory/include/simpleplugin/class_simpleManagement.inc (Line 555) Type: method
Arguments: array(array("cn=template_cn,ou=templates,ou=workstations,ou=systems,dc=fusiondirectory,dc=org"),"template_apply")
Trace[5]: class simpleManagement / function execute File: /usr/share/fusiondirectory/include/simpleplugin/class_simpleManagement.inc (Line 1338) Type: method
Arguments: -
Trace[6]: class simpleManagement / function mainInc File: /usr/share/fusiondirectory/plugins/admin/systems/main.inc (Line 21) Type: static
Arguments: "systemManagement"
Trace[7]: function require File: /usr/share/fusiondirectory/html/main.php (Line 286) Type: -
Arguments: "/usr/share/fusiondirectory/plugins/admin/systems/main.inc"