Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 367113 - apply patch failed
Summary: apply patch failed
Status: RESOLVED DUPLICATE of bug 366584
Alias: None
Product: Orion
Classification: ECD
Component: Git (show other bugs)
Version: 0.3   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 0.4 M2   Edit
Assignee: Tomasz Zarna CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-19 12:52 EST by Susan McCourt CLA
Modified: 2011-12-22 06:58 EST (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 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 ***