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

Generate site AIP package using packager fails with an NPE if using the passwords=true option #9428

Closed
amgciadev opened this issue Mar 21, 2024 · 0 comments · Fixed by #9429
Assignees
Labels
bug tools: packager Related to package or AIP importer/exporter

Comments

@amgciadev
Copy link
Contributor

Describe the bug
The Generate site AIP package operation using the packager tool fails with an NPE if using the passwords=true option and there are any ePerson without a password set.

To Reproduce
Steps to reproduce the behavior:

  1. An eperson without a password must exist in the DB (this is a common scenario in cases where shibboleth login is used)
  2. Run package command to generate a site package with the passwords=true option, e.g. [dspace]/bin/dspace -d -t AIP -o passwords=true -e [admin email] -i [handle_prefix]/0 [full-path-to-aip-package]

Expected behavior
The process finishes cleanly and does now add a password entry for eperson without one set

@amgciadev amgciadev added bug needs triage New issue needs triage and/or scheduling labels Mar 21, 2024
@tdonohue tdonohue added tools: packager Related to package or AIP importer/exporter and removed needs triage New issue needs triage and/or scheduling labels Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug tools: packager Related to package or AIP importer/exporter
Projects
Development

Successfully merging a pull request may close this issue.

2 participants