Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 365663 - Service data is cached too long?
Summary: Service data is cached too long?
Status: RESOLVED WONTFIX
Alias: None
Product: Orion
Classification: ECD
Component: Client (show other bugs)
Version: 0.3   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-05 15:21 EST by Mark Macdonald CLA
Modified: 2015-05-05 14:37 EDT (History)
1 user (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-12-05 15:21:40 EST
Here's a case of old service data that Libing and Susan ran into recently.

1. "webEditingPlugin.html" is declared in Orion's defaults.pref file. It contributes a bunch of declarative properties for several services. It has no service methods.
2. I committed this change to webEditingPlugin:
  http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/diff/bundles/org.eclipse.orion.client.core/web/plugins/webEditingPlugin.html?id=771d55acdcda294a9f4da25e40f879829671161c
  It still has no service methods -- just metadata.
3. Later, Libing pulls the change from Step 2, runs it.
4. Libing sees the service data from Step 1, not Step 2.

He had to do localStorage.clear() to flush it out.

I thought that people's cached service data would expire between Step 2 and Step 3, so they wouldn't be burned by my change, but that didn't happen.
Comment 1 John Arthorne CLA 2015-05-05 14:37:03 EDT
Closing as part of a mass clean up of inactive bugs. Please reopen if this problem still occurs or is relevant to you. For more details see:

https://dev.eclipse.org/mhonarc/lists/orion-dev/msg03444.html