marklogic / marklogic/marklogic-contentpump
Comma in output_uri_replace causes "Invalid option argument" error
Open
Nobody has claimed this yet.
bug
minor
mlcp
verify
- Dominant language
- Java
- Stars
- 37
- Forks
- 32
- Avg merge
- 1h 3m
- Merged PRs (30d)
- 12
Description
The following command fails because the uri_replace string contains a comma: text,123. Attempted to escape the comma with slush or double slush has no effect.
./mlcp.sh IMPORT -host local -port 8000 -username admin \
-password admin -input_file_path test -mode local \
-output_uri_replace "test,'test,123'"
java.lang.IllegalArgumentException: Invalid option argument for output_uri_replace :test,'test,123'
at com.marklogic.contentpump.Command.applyCommonOutputConfigOptions(Command.java:2219)
at com.marklogic.contentpump.Command$1.applyConfigOptions(Command.java:448)
at com.marklogic.contentpump.Command$1.createJob(Command.java:348)
at com.marklogic.contentpump.ContentPump.runCommand(ContentPump.java:226)
at com.marklogic.contentpump.ContentPump.main(ContentPump.java:74)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.