Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • fusiondirectory-plugins fusiondirectory-plugins
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 50
    • Issues 50
    • List
    • Boards
    • Service Desk
    • Milestones
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • fusiondirectoryfusiondirectory
  • fusiondirectory-pluginsfusiondirectory-plugins
  • Issues
  • #5721
Closed
Open
Issue created Oct 24, 2017 by Jonathan Swaelens@jswaelensDeveloper

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

  1. Create a template system
  2. Try to use it
  3. 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"
Edited Oct 24, 2017 by Côme Chilliet
Assignee
Assign to
Time tracking