Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 368883

Summary: TCF command doesn't allow JSON strings to contain spaces
Product: [Tools] TCF Reporter: Chris Wyse <chris.wyse>
Component: AgentAssignee: Project Inbox <tcf.agent-inbox>
Status: RESOLVED FIXED QA Contact: Eugene Tarassov <eugene>
Severity: normal    
Priority: P3 CC: cdtdoug, chris.wyse
Version: unspecified   
Target Milestone: 1.0.0   
Hardware: All   
OS: All   
Whiteboard:

Description Chris Wyse CLA 2012-01-17 16:10:30 EST
Build Identifier: 

The "tcf" command accepts a service name, a command, and then various parameters, which are all JSON objects.  The "tcf" command should parse the final parameters as json objects instead of space delimited arguments.  This would allow spaces within strings passed to the command.

Reproducible: Always

Steps to Reproduce:
1.Start agent
2.connect
3.Issue tcf command that includes a string with spaces as a parameter.
Comment 1 Eugene Tarassov CLA 2012-01-17 19:37:10 EST
I have changed the code to treat space as delimiter only between JSON objects. Inside a string, spaces are now preserved. In other parts of JSON text, spaces are ignored.
Fixed.
Thanks.