Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 338902 - Double prefix when using LocationPicker
Summary: Double prefix when using LocationPicker
Status: CLOSED FIXED
Alias: None
Product: STEM
Classification: Technology
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 minor (vote)
Target Milestone: 1.1.2   Edit
Assignee: James Kaufman CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-04 03:57 EST by Jan-Frederik Wigger CLA
Modified: 2011-07-18 21:44 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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