Skip to content
GitLab
    • Explore Projects Groups Topics Snippets
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 65
    • Issues 65
    • 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
  • #5192
Something went wrong while setting issue due date.
Closed
Open
Issue created 8 years ago by PGros@PGrosReporter
  • New related issue

  • New related issue

Fusiondirectory ldapmanager plugin fatal error when importing a ldif file

Closed

Fusiondirectory ldapmanager plugin fatal error when importing a ldif file

After upgrading the fusion directory to the last version (1.0.16) Operating system: debian wheezy (V7.10)
3.16.0-0.bpo.4-amd64 #1 SMP Debian 3.16.7-ckt11-1~bpo70+1

configuration:

dpkg -l|grep fusion

iF fusiondirectory 1.0.16-1 all Web Based LDAP Administration Program iU fusiondirectory-plugin-argonaut 1.0.16-1 all Argonaut plugin for FusionDirectory ii fusiondirectory-plugin-argonaut-schema 1.0.16-1 all LDAP schema for FusionDirectory Argonaut plugin iU fusiondirectory-plugin-ldapmanager 1.0.16-1 all ldapmanager plugin for FusionDirectory iU fusiondirectory-plugin-mail 1.0.16-1 all base mail plugin for FusionDirectory ii fusiondirectory-plugin-mail-schema 1.0.16-1 all LDAP schema for FusionDirectory mail plugin iU fusiondirectory-plugin-systems 1.0.16-1 all systems plugin for FusionDirectory ii fusiondirectory-plugin-systems-schema 1.0.16-1 all LDAP schema for FusionDirectory systems plugin ii fusiondirectory-schema 1.0.16-1 all LDAP schema for FusionDirectory ii fusiondirectory-smarty3-acl-render 1.0.16-1 all Provide FusionDirectory ACL based rendering for Smarty3

This is the debug traces when impoting a ldif file DEBUG[1] (/usr/share/fusiondirectory/include/functions.inc:initLanguage():3371) - Setting language to: 'fr_FR.UTF-8' DEBUG[1] (/usr/share/fusiondirectory/include/class_plugin.inc:__construct():183) - Object check: 'found' DEBUG[1] (/usr/share/fusiondirectory/include/class_objects.inc:open():156) - Openned as ldapmanager object: 'new' DEBUG[1] (/usr/share/fusiondirectory/include/simpleplugin/class_simpleTabs.inc:save_object():235) - Saving: 'ldapmanager' DEBUG[1] (/usr/share/fusiondirectory/include/simpleplugin/class_simplePlugin.inc:save_object():609) - save_object: 'new' DEBUG[1] (/usr/share/fusiondirectory/include/simpleplugin/class_simplePlugin.inc:execute():350) - execute: 'new'

There is some debug output DEBUG[1] (/usr/share/fusiondirectory/include/simpleplugin/class_simpleTabs.inc:save_object():235) - Saving: 'ldapmanager' DEBUG[1] (/usr/share/fusiondirectory/include/simpleplugin/class_simplePlugin.inc:save_object():609) - save_object: 'new'

This is the line printed after pressing the 'import' button. Fatal error: Call to undefined method ldapmanager::handle_import_ldif_submit() in /usr/share/fusiondirectory/include/simpleplugin/class_dialogAttributes.inc on line 592

LDIF File Itried to import (Please note that I tried some files, and a previously exported one)

dn: uid=pxxxx,ou=people,dc=hatlab,dc=fr cn: Philippe xxxx sn: xxxx givenName: Philippe description: Administrateur uid: pxxxx preferredLanguage: fr_FR mail: xxxx@gmail.com gosaMailServer: Mail-hatlab.fr gosaVacationStart: 1455919747 gosaVacationStop: 1455919747 gosaMailDeliveryMode: [] homeDirectory: /home/pxx gecos: Philippe xxxx loginShell: /bin/bash uidNumber: 1103 gidNumber: 1102 objectClass: inetOrgPerson objectClass: organizationalPerson objectClass: person objectClass: gosaMailAccount objectClass: posixAccount objectClass: shadowAccount userPassword:: e1NTSEF9elc4MU9KVy81M0ZRRmZmNUErWEZXNndzN05EdXY0Szg= shadowLastChange: 16972

(from redmine: issue id 5192, created on 2016-10-12, closed on 2016-10-25)

  • Changesets:
    • Revision 9939ecb5 by Côme Chilliet on 2016-10-13T13:00:02.000Z:
Fixes #5192 ldapmanager method has the wrong name
  • Revision 6b8c6ed0 by Côme Chilliet on 2016-10-13T13:00:33.000Z:
Fixes #5192 ldapmanager method has the wrong name
  • Custom Fields:
    • Bug in version: 1.0.16

    Tasks

    0

    No tasks are currently assigned. Use tasks to break down this issue into smaller parts.

    Linked items
    0

    Link issues together to show that they're related. Learn more.

    Activity


    • Côme Chilliet
      Côme Chilliet @cchilliet · 8 years ago
      Reporter

      Oh, this is because of #5173 (closed) , the button changed name and I forgot to rename the method. This should be fixed by 1.0.17 but in the mean time you can edit line 191 of the file /usr/share/fusiondirectory/plugins/addons/ldapmanager/class_ldapmanager.inc and replace handle_import_submit by handle_import_ldif_submit. (see https://forge.fusiondirectory.org/projects/fd-plugins/repository/revisions/9939ecb58b78f25738354b3c02c2399d16f0ad3d/diff/ldapmanager/addons/ldapmanager/class_ldapmanager.inc )

      (from redmine: written on 2016-10-13)

    • bmortier
      bmortier @bmortier · 8 years ago
      Maintainer

      hello,

      this should be fixed, could you test on demo-fixes.fusiondirectory.org

      Cheers

      (from redmine: written on 2016-10-24)

    • Côme Chilliet
      Côme Chilliet @cchilliet · 8 years ago
      Reporter

      Close issue

      (from redmine: written on 2016-10-25)

    • Côme Chilliet closed 7 years ago

      closed

    • bmortier added Fixed label 6 years ago

      added Fixed label

    Please register or sign in to reply
    Assignee
    Côme Chilliet's avatar
    Côme Chilliet
    Assign to
    Labels
    0
    None
    0
    None
      Assign labels
    • Manage project labels

    Milestone
    No milestone
    None
    Due date
    None
    None
    None
    Time tracking
    No estimate or time spent
    Confidentiality
    Not confidential
    Not confidential

    You are going to turn on confidentiality. Only project members with at least the Reporter role, the author, and assignees can view or be notified about this issue.

    Lock issue
    Unlocked
    0
    0 Participants
    Reference:

    Menu

    Explore Projects Groups Topics Snippets