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
  • #1752
Something went wrong while setting issue due date.
Closed
Open
Issue created 12 years ago by bmortier@bmortierMaintainer
  • New related issue

  • New related issue

error when creating a user

Closed

error when creating a user

When I want to create a user I see

Fatal error: Call to a member function addValue() on a non-object in /usr/share/fusiondirectory/plugins/personal/posix/class_posixAccount.inc on line 593

I validate the error and I se my classic screen for filling all field

when I want to validate it

I get :

Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): Failed to parse time string (14974) at position 4 (4): Unexpected character' in /usr/share/fusiondirectory/include/simpleplugin/class_attribute.inc:1057 Stack trace: #0 /usr/share/fusiondirectory/include/simpleplugin/class_attribute.inc(1057): DateTime->__construct('14974', Object(DateTimeZone)) #1 /usr/share/fusiondirectory/include/simpleplugin/class_attribute.inc(1067): DateAttribute->getDateValue() #2 /usr/share/fusiondirectory/include/simpleplugin/class_attribute.inc(356): DateAttribute->computeLdapValue() #3 /usr/share/fusiondirectory/include/simpleplugin/class_simplePlugin.inc(492): Attribute->fillLdapValue(Array) #4 /usr/share/fusiondirectory/plugins/personal/posix/class_posixAccount.inc(515): simplePlugin->prepare_save() #5 /usr/share/fusiondirectory/include/simpleplugin/class_simplePlugin.inc(479): posixAccount->prepare_save() #6 /usr/share/fusiondirectory/plugins/personal/posix/class_posixAccount.inc(531): simplePlugin->save() #7 in /usr/share/fusiondirectory/include/simpleplugin/class_attribute.inc on line 1057

I valide again, I come back on user screen but unable to continue because I get this error

La requête LDAP à échoué !

Objet: cn=test-hh prenom-test,ou=people,dc=lyon,dc=cemagref,dc=fr

Erreur: Object class violation (invalid structural object class chain (inetOrgPerson/posixGroup), lors de l'opération sur 'cn=test-hh prenom-test,ou=people,dc=lyon,dc=cemagref,dc=fr' en utilisant le serveur LDAP 'ldap://vldap2.lyon.cemagref.fr:389') 

(from redmine: issue id 1752, created on 2013-01-16, closed on 2013-01-17)

  • Changesets:
    • Revision 22293b52 by Côme Chilliet on 2013-01-16T09:06:42.000Z:
Fixes: #1752 Fixed posix tab for templates
  • Revision 6a74a1c8 by Côme Chilliet on 2013-01-16T09:43:40.000Z:
Fixes: #1752 Using is_this_account to avoid duplicated code
  • Custom Fields:
    • Bug in version: 1.0.5
  • Uploads:
    • 0001-Fixes-1752-Fixed-posix-tab-for-templates.patch
    • 0002-Fixes-1752-Using-is_this_account-to-avoid-duplicated.patch

    Tasks

    0
    Cannot read properties of undefined (reading 'workItem')

    Linked items
    0

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

    Activity


    • bmortier
      bmortier @bmortier · 12 years ago
      Author Maintainer

      update : it seem that user is created but ther to much erro message

      (from redmine: written on 2013-01-16)

      By agallavardin on 2017-09-02T14:53:54 (imported from GitLab)

    • bmortier
      bmortier @bmortier · 12 years ago
      Author Maintainer

      This patch fixes errors in the posix tab code, allowing to activate Posix on template and apply it successfully. It fixes the first error you had, the "Fatal error: Call to a member function addValue() on a non-object".

      (from redmine: written on 2013-01-16)

      By Côme Chilliet on 2017-09-02T14:53:54 (imported from GitLab)

    • bmortier
      bmortier @bmortier · 12 years ago
      Author Maintainer

      Hello,

      commited first patch

      Cheers

      (from redmine: written on 2013-01-16)

      By bmortier on 2017-09-02T14:53:54 (imported from GitLab)

    • bmortier
      bmortier @bmortier · 12 years ago
      Author Maintainer

      Hello, this patch is just for better code, but the last commit of simplePlugin, fixing #1643 , is fixing the DateAttribute problem.

      (from redmine: written on 2013-01-16)

      By Côme Chilliet on 2017-09-02T14:53:54 (imported from GitLab)

    • bmortier
      bmortier @bmortier · 12 years ago
      Author Maintainer

      Close issue

      (from redmine: written on 2013-01-17)

      By bmortier on 2017-09-02T14:53:55 (imported from GitLab)

    • bmortier closed 7 years ago

      closed

      By bmortier on 2017-09-02T14:53:55 (imported from GitLab)

    • bmortier added Fixed PJ1802-0188 and removed Bugs labels 6 years ago

      added Fixed PJ1802-0188 and removed Bugs labels

      By bmortier on 2019-01-29T20:36:34 (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