Skip to content

Comma in output_uri_replace causes "Invalid option argument" error #89

Open
@lifan0127

Description

@lifan0127

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)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions