Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[dsdp-tcf-dev] [Bug 324107] New: getEnvironment command for the Processess service does not comply with the protocol

https://bugs.eclipse.org/bugs/show_bug.cgi?id=324107 
Product/Component: Target Management / TCF

           Summary: getEnvironment command for the Processess service does
                    not comply with the protocol
    Classification: DSDP
           Product: Target Management
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: TCF
        AssignedTo: dsdp.tm.tcf-inbox@xxxxxxxxxxx
        ReportedBy: sidharth@xxxxxxxxxxxxx
         QAContact: martin.oberhuber@xxxxxxxxxxxxx


Build Identifier: 

The protocol documented for the getEnvironment command in the Processes service
requires that the environment be a JSON object

C • <token> • Processes • getEnvironment •
R • <token> • <error report> • <object: environment variables> •

As of version 1134 of trunk for the agent sources, the environment returned is
instead a JSON array.

It looks like either the documentation or the implementation (agent and java
proxy) need to be corrected.


Reproducible: Always

Steps to Reproduce:
I ran into this when writing a python client that speaks to the TCF C agent
running on Linux. My client was expecting a JSON object per the documentation
and failed the getEnvironment command because it did not get the expected
reply.

-- 
Configure bugmail: https://bugs.eclipse.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.

Back to the top