-
Type:
Bug
-
Status: Resolved
-
Priority:
Trivial
-
Resolution: Expired
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: CLI
-
Labels:None
-
Rank:1|hzlvu7:
-
Needs backport:No
-
Needs QA verification:No
-
Functional tests:No
-
Are the reproduction steps defined?:No (add reasons in the comment)
When trying to execute batch with commands that have arguments escaped/guarded with single quotes ('), ssoadm fails to parse those (and will execute only commands it managed to parse before line with quote). Error message is 'Unmatched ".' and issue seems to be that com.sun.identity.cli.BulkOperations method makeStringArray incorrectly sets inDblQuote to be true in case of single quote (line 114).
OTOH, if someone is to refactor this part of the code, it could be more like shell's parser which allows quotes to be in the middle of argument as well (blaah="asdasd", the current parser will yield asdasd as result, IMHO).
- relates to
-
OPENAM-8234 ssoadm batch fails when attribute values are surrounded by quotes
-
- Resolved
-