DESCRIPTION

tmf: Fix trace properties not shown when location URI has encoded chars

The trace properties (e.g. CTF environment variables) are not shown when
the trace element's location URI contains encoded characters (e.g.
space=%20), because the trace path uses the decoded characters and
therefore does not match the trace element's location.

The patch also modifies the output of the 'location' property to show
the decoded URI string.

Change-Id: Ida0c56096b88690058eccfc5e408222fd461f7b7
Signed-off-by: Luciana Barry xxx@xxx.xxx


COMMENTS

author: Luciana Barry
date: 2014-03-28 14:40:23.000000000

Uploaded patch set 2.

-------------------------------------
author: Brenden Conley
date: 2014-03-28 14:40:28.000000000

Patch Set 2:

Build Started https://hudson.eclipse.org/linuxtools/job/linuxtools-gerrit/6129/

-------------------------------------
author: Kaeden Tapia
date: 2014-03-28 14:48:16.000000000

Patch Set 2:

(1 comment)

Line:451, lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/project/model/TmfTraceElement.java -> how about URIUtil.toUnencodedString? I haven't tried it but I think that should help.

-------------------------------------
author: Luciana Barry
date: 2014-03-28 15:04:23.000000000

Patch Set 2:

(1 comment)

Line:451, lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/project/model/TmfTraceElement.java -> Yes, thanks! I had tried URLDecoder.decode() but that one changes '+' to space.

-------------------------------------
author: Brenden Conley
date: 2014-03-28 15:22:33.000000000

Patch Set 2: Verified+1

Build Successful 

https://hudson.eclipse.org/linuxtools/job/linuxtools-gerrit/6129/ : SUCCESS

-------------------------------------
