Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in
fusiondirectory
fusiondirectory
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 29
    • Issues 29
    • List
    • Boards
    • Labels
    • Milestones
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Commits
  • Issue Boards
  • fusiondirectory
  • fusiondirectoryfusiondirectory
  • Issues
  • #5757

Closed
Open
Opened Feb 01, 2018 by Côme Chilliet@MCMic
  • Report abuse
  • New issue
Report abuse New issue

In case of LDAP errors during a deletion, a PHP error is triggered

Description

ldap_remove returns a string instead of an array in case of LDAP errors

PHP error: "array_merge(): Argument #2 is not an array" Trace[1]: fonction array_merge Fichier: /usr/share/fusiondirectory/include/simpleplugin/class_simpleTabs.inc (Ligne 427)

FusionDirectory Version

1.3

Steps to Reproduce

Not sure, you need a delete to go wrong because of an LDAP error, hard to reproduce.

Expected behavior:

Pop-up with error

Actual behavior:

No pop-up, PHP error instead

Edited Feb 01, 2018 by Côme Chilliet
Assignee
Assign to
FusionDirectory 1.2.1
Milestone
FusionDirectory 1.2.1
Assign milestone
Time tracking
None
Due date
None
3
Labels
Fixed fixes-merged simple-plugin
Assign labels
  • View project labels
Reference: fusiondirectory/fd#5757