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
  • #5974
Closed
Open
Issue created Mar 20, 2019 by bmortier@bmortierMaintainer

Workflow problem when applying a template to an object triggers errors

Description

I tried to apply a template which change some fields ( postal address and add a partage email account

Distribution Name and Version

Debian 9

FusionDirectory Version

1.3

PHP version used

7

Origin of php packages

php from debian stretch

Steps to Reproduce

  1. select an account
  2. choose a template to apply
  3. click on "OK" to apply template
  4. an errors occurs because email already exist ( on partage mail system)
  5. I acknowledge the error
  6. Fd come back on screen width some field ( see attachment ), password is randomly filled Sélection_383
  7. I click on OK : errors occurs If I clique on cancel : no errors and I 'll come back to user list

Expected behavior:

no Error If I click on "OK", because all field are OK.

Actual behavior:

Fatal error: Uncaught Error: Call to a member function set_acl_base() on null in /usr/share/fusiondirectory/include/simpleplugin/class_simpleManagement.inc:966 Stack trace: #0 /usr/share/fusiondirectory/include/simpleplugin/class_simpleManagement.inc(78): simpleManagement->openTabObject(NULL, 'ou=incoming,dc=...') #1 /usr/share/fusiondirectory/include/simpleplugin/class_simpleManagement.inc(576): templateDialog->save_object() #2 /usr/share/fusiondirectory/include/simpleplugin/class_simpleManagement.inc(1356): simpleManagement->execute() #3 /usr/share/fusiondirectory/plugins/admin/users/main.inc(21): simpleManagement::mainInc('userManagement') #4 /usr/share/fusiondirectory/html/main.php(284): require('/usr/share/fusi...') #5 {main} thrown in /usr/share/fusiondirectory/include/simpleplugin/class_simpleManagement.inc on line 966

Reproduces how often:

100 %

Edited Jul 22, 2019 by bmortier
Assignee
Assign to
Time tracking