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

Bug 422625

Summary: icon for JavaScript files no longer appear in navigator
Product: [ECD] Orion Reporter: Manu Sridharan <m.sridharan>
Component: NodeAssignee: Project Inbox <orion.server-inbox>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: P3 CC: mamacdon
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X   
Whiteboard:
Attachments:
Description Flags
Icons missing none

Description Manu Sridharan CLA 2013-11-26 19:11:02 EST
Created attachment 237740 [details]
Icons missing

I just pulled the latest master from git (commit 2827993f5639d15069772753968b790945215bf4), and I no longer see icons for JavaScript files in the navigator view, but empty rectangles instead (see attached screenshot).  This is running with the orionode server, using latest Chrome.  I set Node as the component, but maybe Client is more appropriate.
Comment 1 Manu Sridharan CLA 2013-11-26 19:18:03 EST
Whoops, clearing my Chrome cache fixed the problem
Comment 2 Manu Sridharan CLA 2013-11-26 19:21:28 EST
Sorry for the flakiness; this is a real problem, reproduced even with a cleared cache in Chrome.
Comment 3 Mark Macdonald CLA 2013-11-26 19:43:07 EST
The plugin data was just changed in master, so the plugin data in your localStorage is likely out of sync.

The best way to recover is by opening a js console on an Orion page and running
 localStorage.clear()
Then reload the page.

Clearing the cache is not always enough -- depending on which boxes you check in the Clear Private Data wizard, localStorage may or may not be cleared.

I can't reproduce this after a localStorage reset, so returning.
Comment 4 Mark Macdonald CLA 2013-11-26 19:49:53 EST
FWIW the expected URL for javascript icons is now "http://localhost:xxxx/javascript/images/javascript.png". If your Orion UI is spitting out "http://localhost:xxxx/images/javascript.png" then the plugin data is stale.

(These stale data bugs should fix themselves after 24 hours, but they're a PITA when you're regularly pulling from master.)
Comment 5 Manu Sridharan CLA 2013-11-26 23:08:47 EST
Sorry about that; will clear localStorage before reporting issues in the future.