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 fusiondirectory
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 39
    • Issues 39
    • 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
  • #4061
Something went wrong while setting issue due date.
Closed
Open
Issue created 9 years ago by bmortier@bmortierMaintainer
  • New related issue

  • New related issue

PHP error when I use a template to create a user

Closed

PHP error when I use a template to create a user

Hello,

I have a PHP error when I try to create a user with a template.

Here is a ldapdump of my template:

cn=beatle,ou=templates,ou=people
objectClass 	fdTemplate
fdTemplateField 	labeledURI:http://%l|givenName%.com
fdTemplateField 	objectClass:inetOrgPerson
fdTemplateField 	objectClass:organizationalPerson
fdTemplateField 	objectClass:person
fdTemplateField 	userPassword:{SSHA}Tzqm24/2enFpiAa7XJEW16+K5lQ81RZm
cn 	beatle

The trace when I see the PHP error:

DEBUG[1] (/usr/share/fusiondirectory/include/simpleplugin/class_simplePlugin.inc:save_object():558) - save_object: 'new'
DEBUG[1] (/usr/share/fusiondirectory/include/simpleplugin/class_simplePlugin.inc:save_object():558) - save_object: 'new'
DEBUG[1] (/usr/share/fusiondirectory/include/simpleplugin/class_simplePlugin.inc:save_object():558) - save_object: 'new'
DEBUG[1] (/usr/share/fusiondirectory/include/simpleplugin/class_simplePlugin.inc:save_object():558) - save_object: 'new'
DEBUG[1] (/usr/share/fusiondirectory/include/simpleplugin/class_simplePlugin.inc:save_object():558) - save_object: 'new'
DEBUG[1] (/usr/share/fusiondirectory/include/simpleplugin/class_simplePlugin.inc:save_object():558) - save_object: 'new'
DEBUG[1] (/usr/share/fusiondirectory/include/simpleplugin/class_simpleTabs.inc:adapt_from_template():442) - Adapting: 'user'
DEBUG[1] (/usr/share/fusiondirectory/include/simpleplugin/class_simpleTabs.inc:adapt_from_template():442) - Adapting: 'posixAccount'
DEBUG[1] (/usr/share/fusiondirectory/include/simpleplugin/class_simpleTabs.inc:adapt_from_template():442) - Adapting: 'mailAccount'
DEBUG[1] (/usr/share/fusiondirectory/include/simpleplugin/class_simpleTabs.inc:adapt_from_template():442) - Adapting: 'userRoles'
DEBUG[1] (/usr/share/fusiondirectory/include/simpleplugin/class_simpleTabs.inc:adapt_from_template():442) - Adapting: 'reference'
DEBUG[1] (/usr/share/fusiondirectory/include/simpleplugin/class_simpleTabs.inc:adapt_from_template():442) - Adapting: 'ldapDump'
DEBUG[1] (/usr/share/fusiondirectory/include/simpleplugin/class_simpleTabs.inc:save_object():242) - Saving: 'user'
DEBUG[1] (/usr/share/fusiondirectory/include/simpleplugin/class_simplePlugin.inc:save_object():558) - save_object: 'new'
DEBUG[1] (/usr/share/fusiondirectory/include/simpleplugin/class_simplePlugin.inc:execute():337) - execute: 'new'

Cheers.

(from redmine: issue id 4061, created on 2015-08-26, closed on 2015-08-27)

  • Changesets:
    • Revision 55041373 by Côme Chilliet on 2015-08-26T14:35:30.000Z:
Fixes #4061 PHP error when I use a template to create a user
  • Revision 0ac270b2 by Côme Chilliet on 2015-08-26T14:35:45.000Z:
Fixes #4061 PHP error when I use a template to create a user
  • Uploads:
    • Screenshot-16-20-13
    • 0001-Fixes-4061-PHP-error-when-I-use-a-template-to-create.patch

    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


    • bmortier
      bmortier @bmortier · 9 years ago
      Author Maintainer

      hello,

      applied to 1.0.9 and develop

      Cheers

      (from redmine: written on 2015-08-26)

      By bmortier on 2017-09-02T15:22:46 (imported from GitLab)

    • bmortier
      bmortier @bmortier · 9 years ago
      Author Maintainer

      Close issue

      (from redmine: written on 2015-08-27)

      By Jonathan Swaelens on 2017-09-02T15:22:46 (imported from GitLab)

    • bmortier closed 7 years ago

      closed

      By Jonathan Swaelens on 2017-09-02T15:22:47 (imported from GitLab)

    • bmortier added Fixed label 6 years ago

      added Fixed label

      By bmortier on 2018-10-08T16:14:48 (imported from GitLab)

    • bmortier added fusiondirectory-core label 6 years ago

      added fusiondirectory-core label

      By bmortier on 2018-10-08T16:15:00 (imported from GitLab)

    Please register or sign in to reply
    Assignee
    bmortier's avatar
    bmortier
    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