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

bulk import with wrong parameter #69

Open
floriangantner opened this issue Feb 6, 2024 · 1 comment · May be fixed by #71
Open

bulk import with wrong parameter #69

floriangantner opened this issue Feb 6, 2024 · 1 comment · May be fixed by #71
Labels

Comments

@floriangantner
Copy link

Describe the bug
The bulk import uses the wrong parameter on the "Abort-on-first-error" option

stringParameters.push( { name: '-e', value: values.abortOnError } );

It uses -e which is not present in the bulk-import Script Configuration

To Reproduce
Steps to reproduce the behavior:

  1. Collection -> Import items into collection >
  2. check abort on first and trigger process
  3. See process output. Parameter should be missing.

Expected behavior
We expect the correct parameter to be called which is the -er option instead.

https://github.com/4Science/DSpace/blob/2433b9bbbe6b3d0f2867a88e805da1f299f456a2/dspace-api/src/main/java/org/dspace/app/bulkedit/BulkImportScriptConfiguration.java#L55

Related work

floriangantner added a commit to uniba-ub/dspace-angular that referenced this issue Feb 7, 2024
@floriangantner floriangantner linked a pull request Feb 7, 2024 that will close this issue
8 tasks
@floriangantner
Copy link
Author

still existent in 2023.02.05

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant