Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ldif2db - import of entry with no parent doesnt generate a warning #4734

Closed
jchapma opened this issue Apr 22, 2021 · 0 comments · Fixed by #4735
Closed

ldif2db - import of entry with no parent doesnt generate a warning #4734

jchapma opened this issue Apr 22, 2021 · 0 comments · Fixed by #4735
Milestone

Comments

@jchapma
Copy link
Contributor

jchapma commented Apr 22, 2021

Issue Description
Online import of ldif file that contains an entry with no parent doesnt generate a task warning.

Package Version and Platform:

  • Platform: 5.6.6-300.fc32.x86_64
  • Package and version: 389-Directory/2.0.4

Steps to Reproduce

  1. Import ldif file with an entry that has no parent entry
  2. Notice import success message
  3. Check the server error logs to notice an import warning
...  Skipping entry "uid=demo,ou=People,dc=example,dc=com" which has no parent, ...

Expected results
The user should get a warning message saying some entries were skipped and the that they should check the logs for more info.

Additional context
https://bugzilla.redhat.com/show_bug.cgi?id=1951537
Fix provided by Viktor Ashirov

@jchapma jchapma added the needs triage The issue will be triaged during scrum label Apr 22, 2021
@jchapma jchapma added this to the 1.4.3 milestone Apr 22, 2021
@jchapma jchapma removed the needs triage The issue will be triaged during scrum label Apr 22, 2021
jchapma added a commit to jchapma/389-ds-base that referenced this issue Apr 23, 2021
Description:    Online import of ldif file that contains an entry with
                no parent doesnt generate a task warning.

Fixes:          389ds#4734

Author: vashirov@redhat.com (Thanks)

Reviewed by: mreynolds, jchapma
jchapma added a commit that referenced this issue Apr 24, 2021
Description:    Online import of ldif file that contains an entry with
                no parent doesnt generate a task warning.

Fixes:          #4734

Author: vashirov@redhat.com (Thanks)

Reviewed by: mreynolds, jchapma
mreynolds389 pushed a commit that referenced this issue Aug 19, 2021
Description:    Online import of ldif file that contains an entry with
                no parent doesnt generate a task warning.

Fixes:          #4734

Author: vashirov@redhat.com (Thanks)

Reviewed by: mreynolds, jchapma
mreynolds389 pushed a commit that referenced this issue Aug 19, 2021
Description:    Online import of ldif file that contains an entry with
                no parent doesnt generate a task warning.

Fixes:          #4734

Author: vashirov@redhat.com (Thanks)

Reviewed by: mreynolds, jchapma
bsimonova added a commit to bsimonova/389-ds-base that referenced this issue Nov 12, 2021
… a warning

Description:
Added a test to check if warning message is displayed
when there are skipped entries during backend import.

Relates: 389ds#4734

Reviewed by: droideck (Thanks!)
bsimonova added a commit that referenced this issue Nov 12, 2021
… a warning

Description:
Added a test to check if warning message is displayed
when there are skipped entries during backend import.

Relates: #4734

Reviewed by: droideck (Thanks!)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant