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

Bug 338902

Summary: Double prefix when using LocationPicker
Product: [Technology] STEM Reporter: Jan-Frederik Wigger <jan-frederik.wigger>
Component: UIAssignee: James Kaufman <jhkauf>
Status: CLOSED FIXED QA Contact:
Severity: minor    
Priority: P3    
Version: unspecified   
Target Milestone: 1.1.2   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Jan-Frederik Wigger CLA 2011-03-04 03:57:02 EST
When using the location picker in MigrationEdgeGraphGenerator or in PajekGraphGenerator, you get a URI with a double prefix.

When you add a print(this.location()) in
org.eclipse.stem.graphgenerators.impl:MigrationEdgeGraphGeneratorImpl.java line 143

run STEM and create a new Migration Edge Graph, you will see this in your console:

stem://org.eclipse.stem/stem://org.eclipse.stem/node/geo/region/XYZ
Comment 1 James Kaufman CLA 2011-03-06 15:42:44 EST
GraphGeneratorPropertyEditor line 95,  uses STEMURI.createURI(...) passing in a string that already have the prefix and it appends another one. Will change this method to check uri segment before appending prefix
Comment 2 James Kaufman CLA 2011-03-06 15:44:07 EST
Jan,
I checked in a fix for this per comment above.
Can you please test with Pajek and let me know if you still see this problem?
Comment 3 Jan-Frederik Wigger CLA 2011-03-07 01:56:21 EST
Checked it and the problem does not occur any more..
Comment 4 James Kaufman CLA 2011-03-07 14:43:39 EST
Thanks Jan, Marking this fixed.
Comment 5 James Kaufman CLA 2011-07-18 21:44:11 EDT
Complete