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
  • #5861
Closed
Open
Issue created 6 years ago by bmortier@bmortierMaintainer
  • New related issue

  • New related issue

We cannot do a snapshot from an element in locality

Closed

We cannot do a snapshot from an element in locality

Description

We cannot do a snapshot from an element in locality

Distribution Name and Version

Debian

FusionDirectory Version

1.2.1

PHP version used

7

Origin of php packages

Debian

Steps to Reproduce

  1. Create a locality
  2. Create a DHCP in the locality
  3. Try to create a snapshot of the DHCP

Expected behavior:

Snapshot without errors

Actual behavior:

Error: Object class violation (object class 'residentialPerson' requires attribute 'sn',...

Reproduces how often: 100%

    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 assigned to @MCMic 6 years ago

      assigned to @MCMic

      By Côme Chilliet on 2018-08-01T14:33:28 (imported from GitLab)

    • bmortier added PJ1804-0201 label 6 years ago

      added PJ1804-0201 label

      By Jonathan Swaelens on 2018-08-01T14:35:32 (imported from GitLab)

    • bmortier added fusiondirectory-core label 6 years ago

      added fusiondirectory-core label

      By bmortier on 2018-08-02T20:21:25 (imported from GitLab)

    • bmortier
      bmortier @bmortier · 6 years ago
      Author Maintainer

      Ok the problem is the create_missing_trees method which wrongly selects residentialPerson instead of locality objectClass for l=

      By Côme Chilliet on 2018-08-07T11:51:14 (imported from GitLab)

    • bmortier added 30m of time spent at 2018-08-07 6 years ago

      added 30m of time spent at 2018-08-07

      By Côme Chilliet on 2018-08-07T11:51:14 (imported from GitLab)

    • bmortier created branch 5861-we-cannot-do-a-snapshot-from-an-element-in-locality 6 years ago

      created branch 5861-we-cannot-do-a-snapshot-from-an-element-in-locality

      By Côme Chilliet on 2018-08-07T11:51:59 (imported from GitLab)

    • bmortier mentioned in merge request !348 6 years ago

      mentioned in merge request !348

      By Côme Chilliet on 2018-08-07T11:52:01 (imported from GitLab)

    • bmortier mentioned in commit c90f52db 6 years ago

      mentioned in commit c90f52db

      By Côme Chilliet on 2018-08-07T12:59:13 (imported from GitLab)

    • bmortier added To Be Tested label 6 years ago

      added To Be Tested label

      By bmortier on 2018-08-07T13:11:17 (imported from GitLab)

    • bmortier added 1h 30m of time spent at 2018-08-07 6 years ago

      added 1h 30m of time spent at 2018-08-07

      By Côme Chilliet on 2018-08-07T13:20:03 (imported from GitLab)

    • bmortier
      bmortier @bmortier · 6 years ago
      Author Maintainer

      hello @MCMic,

      snapshoting entries en the locality work well now. As there is code changes what should i test further ?

      Cheers

      By bmortier on 2018-08-07T16:21:37 (imported from GitLab)

    • bmortier added 5m of time spent at 2018-08-07 6 years ago

      added 5m of time spent at 2018-08-07

      By bmortier on 2018-08-07T16:21:38 (imported from GitLab)

    • bmortier removed To Be Tested label 6 years ago

      removed To Be Tested label

      By bmortier on 2018-08-07T16:21:48 (imported from GitLab)

    • bmortier
      bmortier @bmortier · 6 years ago
      Author Maintainer

      @bmortier The best would be to try snapshotting in a tree that uses all kinds of department, so put a locality in a country in a department in a domain in a … and then try snapshotting something in there.

      An other test would be to put something unusual as RDN for a type, for instance "sn=foo,st=bar" and create an object of this type, then check the LDAP nodes created.

      By Côme Chilliet on 2018-08-08T08:02:20 (imported from GitLab)

    • bmortier
      bmortier @bmortier · 6 years ago
      Author Maintainer

      hello @MCMic,

      putting a dhcp inside a domain, inside a locality, inside a department work and snapshoting work well

      putting a country in a departement in a domain give me an error

      Error: Invalid DN syntax (invalid DN, while operating on 'c=belgium,ou=toto-le-heros42,dc=fd,dc=fusiondirectory,dc=org' using LDAP server 'ldap://demo-dev.fusiondirectory.org')

      By bmortier on 2018-08-08T08:18:55 (imported from GitLab)

      Edited 6 years ago by bmortier
    • bmortier mentioned in issue #5864 6 years ago

      mentioned in issue #5864

      By Côme Chilliet on 2018-08-08T12:03:36 (imported from GitLab)

    • bmortier
      bmortier @bmortier · 6 years ago
      Author Maintainer

      @bmortier this error was unrelated see #5864

      By Côme Chilliet on 2018-08-08T13:34:20 (imported from GitLab)

    • bmortier added Fixed label 6 years ago

      added Fixed label

      By bmortier on 2018-08-08T20:01:05 (imported from GitLab)

    • bmortier closed 6 years ago

      closed

      By bmortier on 2018-08-08T20:01:10 (imported from GitLab)

    Please register or sign in to reply
    Assignee
    bmortier's avatar
    bmortier
    Assign to
    Labels
    4
    Fixed PJ1804-0201 fusiondirectory-core snapshots
    4
    Fixed PJ1804-0201 fusiondirectory-core snapshots
      Assign labels
    • Manage project labels

    Milestone
    FusionDirectory 1.3
    FusionDirectory 1.3 (expired)
    Due date
    None
    None
    2h 10m / --
    Time tracking
    Spent: 2h 10m
    Time tracking report
    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
    1
    1 Participant
    bmortier
    Reference: fusiondirectory/fd#5861

    Menu

    Explore Projects Groups Topics Snippets