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

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

Open
lifan0127 opened this issue Nov 20, 2018 · 0 comments
Open

Comments

@lifan0127
Copy link

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)
@jxchen-us jxchen-us added this to the 9.0.8 milestone Nov 21, 2018
@mattsunsjf mattsunsjf modified the milestones: 9.0.8, 9.0.9 Nov 21, 2018
@mattsunsjf mattsunsjf self-assigned this Jan 28, 2019
@mattsunsjf mattsunsjf modified the milestones: 9.0.9, 10.0.1 Jan 28, 2019
@mattsunsjf mattsunsjf assigned yunzvanessa and unassigned mattsunsjf Mar 22, 2019
@mattsunsjf mattsunsjf modified the milestones: 10.0.1, 10.0.2 Mar 22, 2019
@yunzvanessa yunzvanessa modified the milestones: 10.0.2, 10.0.3 Aug 24, 2019
@yunzvanessa yunzvanessa modified the milestones: 10.0.3, 11.0.1 Sep 18, 2019
@abika5 abika5 modified the milestones: 11.1.0, 11.2.0 Jan 3, 2024
@abika5 abika5 modified the milestones: 11.3.0, 11.4.0 Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants