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

Bug 421787

Summary: [server] Plugin URLs incorrect after metadata migration
Product: [ECD] Orion Reporter: Simon Kaegi <simon_kaegi>
Component: ServerAssignee: Anthony Hunter <ahunter.eclipse>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3 CC: john.arthorne
Version: 4.0   
Target Milestone: 5.0 M1   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Simon Kaegi CLA 2013-11-14 18:14:47 EST
After the metadata migration I noticed that my user preference plugins were bad and had become http://orion.eclipse.org/http://localhost/dav/webdavPlugin.html and similar.
Comment 1 John Arthorne CLA 2013-11-15 15:53:47 EST
This is a major one. I think it might be encoding slashes where it shouldn't.
Comment 2 Anthony Hunter CLA 2013-11-18 14:06:07 EST
The problem is that some version of the metadata used:

skaegi/plugins//http\://localhost/dav/plugin/webdavPlugin.html=true

In Orion 3.0 / 4,0 we used:

skaegi/plugins/http\://localhost/dav/plugin/webdavPlugin.html=true

The extra slash in "plugins//" is causing the issue.

I have added a check in the migration code in commit:
http://git.eclipse.org/c/orion/org.eclipse.orion.server.git/commit/?id=ccd83c5adb26ccb4ec71cd21f6689ba655654d69

I have searched through all the plugins lines in the Users.prefs file from orion.eclipse.org and they are in one of the two formats above.

The only way to fix on orion.eclipse.org is to delete and add the bad plugin entry.