Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
3.4.6, 3.5.0
-
Allows spaces to be used for parameters in zkCli as long as they are in single or double quotes. ie: create /node1 "This will now work"
Description
Execute the following command in zkCli.sh :
create /contacts/1
{"country":"CA","name":"De La Salle"}The results is that only {"id":1,"fullname":"De is stored.
The expected result is to have the full JSON payload stored.
The CREATE command seems to be croped after the first space of the data payload. When issuing a create command, all arguments not being -s nor -e shall be treated as the actual data.