Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 358435 - Stale service info produced after an attribute change
Summary: Stale service info produced after an attribute change
Status: RESOLVED FIXED
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 0.3   Edit
Hardware: PC All
: P3 normal (vote)
Target Milestone: 0.4 M2   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-21 10:50 EDT by Mark Macdonald CLA
Modified: 2012-06-08 15:59 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Macdonald CLA 2011-09-21 10:50:38 EDT
Felipe and I both encountered this problem using orion.eclipse.org:

1. Log in to orion.eclipse.org, clone the Orion client repo, create a new self-hosting site.
2. Launch the site, which just happens to get the URL http://site.orion.eclipse.org:8080 and log in.
3. My web browser has some extremely old localStorage data for http://site.orion.eclipse.org:8080, which is used when I log in and causes the JavaScript validation feature to break.
4. On the Plugins page, I can see the service causing the problem:

> http://site.orion.eclipse.org:8080/jslintPlugin.html
>   Services
>     orion.edit.validator
>        Properties  (empty)

4. After clicking "Reload", it updates and is correct:

> http://site.orion.eclipse.org:8080/jslintPlugin.html
>   Services
>     orion.edit.validator
>        Properties
>           pattern = \.js$

Is there anything we can do to improve this case? Changing the details of internal Orion services does not seem like the kind of thing end users should have to deal with.

I expect that orionhub.org users will hit similar bugs after site upgrades.
Comment 1 Mark Macdonald CLA 2011-10-14 13:19:41 EDT
Correction to Comment 0: "Reload" is not sufficient to fix the problem. Sometimes you have to actually Uninstall & Reinstall a plugin to get the correct service attributes.
Comment 2 Simon Kaegi CLA 2012-06-08 15:59:44 EDT
This was fixed in 0.4M2