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

Bug 367113

Summary: apply patch failed
Product: [ECD] Orion Reporter: Susan McCourt <susan>
Component: GitAssignee: Tomasz Zarna <tomasz.zarna>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: Szymon.Brandys
Version: 0.3   
Target Milestone: 0.4 M2   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Susan McCourt CLA 2011-12-19 12:52:36 EST
I can't get apply patch to work.  Here are the steps (and the exact patch to try).

1.  Download this patch:  
https://bugs.eclipse.org/bugs/attachment.cgi?id=208565
2.  In the git repositories page, go to org.eclipse.client.core, the master branch, and chose More...apply patch
3.  Navigate to the downloaded file.
4.  Select it and press finish.

I get 5 errors in my console:

form data: Object {}
HTML5.js (line 51)
"NetworkError: 404 ProxyServlet: /git/undefined - http://orion.eclipse.org/git/undefined"
undefined
HTML Upload Error:ifd.getElementsByTagName("textarea")[0] is undefined
console.error("HTML Upload Error:" + err.message);
IFrame.js (line 48)
TypeError: ifd.getElementsByTagName("textarea")[0] is undefined
value = ifd.getElementsByTagName("textarea")[0].value; //text
iframe.js (line 181)
TypeError: ifd.getElementsByTagName("textarea")[0] is undefined
(undefined="[object Object]")iframe.js (line 181)
notify()Deferred.js (line 171)
complete(undefined="[object Object]")Deferred.js (line 158)
(undefined="[object Object]")Deferred.js (line 200)
(undefined="[object Object]")iframe.js (line 231)
()xhr.js (line 655)
(undefined="49")xhr.js (line 674)
value = ifd.getElementsByTagName("textarea")[0].value; //text
Comment 1 Susan McCourt CLA 2011-12-19 12:53:23 EST
this was running the 20111218 build (latest on orion.eclipse.org), FF8 on Win7.  Also failed on chrome 16.
Comment 2 Tomasz Zarna CLA 2011-12-20 11:58:39 EST
This still works for my simple test project, so it wasn't a mid-air collision (another change in the client) that make it fail for you. I will check it with your patch tomorrow.
Comment 3 Tomasz Zarna CLA 2011-12-22 06:58:47 EST
(In reply to comment #0)
> 2.  In the git repositories page, go to org.eclipse.client.core, the master
> branch, and chose More...apply patch

That's the culprit. The action is not suppose to show up there. Gosia has already mentioned it in bug 366584. Doing the same steps but applying the patch on the repo node should work.

*** This bug has been marked as a duplicate of bug 366584 ***