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

Bug 339199

Summary: [client] Cannot edit a newly created file
Product: [ECD] Orion Reporter: Tomasz Zarna <tomasz.zarna>
Component: ClientAssignee: Project Inbox <e4.orion-inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: major    
Priority: P3 CC: malgorzata.tomczyk, simon_kaegi, Szymon.Brandys
Version: 0.2   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
"Fetching..." should go away none

Description Tomasz Zarna CLA 2011-03-08 07:06:59 EST
Steps:

1. Create a new file ("new.txt")
2. Open it. In my case: http://localhost:8080/coding.html#http://localhost:8080/file/BR/new.txt
=> "Fetching /file/BR/new.txt" stays for ever
=> Errors in Firebug console: "TypeError: fileService[funcName] is undefined" (twice)
3. Keep editing, and then try to save
=> "TypeError: fileService[funcName] is undefined" again, save failed
4. Click on the Orion icon in the top left corner
=> "uncaught exception: [Exception... "Component returned failure code: 0x80004002 (NS_NOINTERFACE) [nsISupports.QueryInterface]" nsresult: "0x80004002 (NS_NOINTERFACE)" location: "JS frame :: file:///C:/Documents%20and%20Settings/Administrator/Application%20Data/Mozilla/Firefox/Profiles/p9mdzysh.default/extensions/ietab@ip.cn/components/nsIeTabWatchFactory.js :: anonymous :: line 226" data: no]"
Comment 1 Tomasz Zarna CLA 2011-03-08 07:08:18 EST
Created attachment 190646 [details]
"Fetching..." should go away
Comment 2 Tomasz Zarna CLA 2011-03-08 07:17:49 EST
Clearing the plugin registry fixed all the problems. But how could I know I have to do it first?
Comment 3 Simon Kaegi CLA 2011-03-08 08:44:04 EST
This is the problem John wrote about on the mailing list. The problem is that the plugins service signature is persisted instead of just cached and when the fileservice changed we did not handle this correctly. This is something I'll work on for M6.
Comment 4 John Arthorne CLA 2011-04-27 17:37:51 EDT
This works.