Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 236560 Details for
Bug 419611
cannot apply a patch created by Orion, shows HunkHeader error
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
test patch file
patch.txt (text/plain), 2.25 KB, created by
Grant Gayed
on 2013-10-16 12:50:10 EDT
(
hide
)
Description:
test patch file
Filename:
MIME Type:
Creator:
Grant Gayed
Created:
2013-10-16 12:50:10 EDT
Size:
2.25 KB
patch
obsolete
>diff --git a/bundles/org.eclipse.orion.client.ui/web/shell/shellPage.js b/bundles/org.eclipse.orion.client.ui/web/shell/shellPage.js >index 5957d7e..b866f5a 100644 >--- a/bundles/org.eclipse.orion.client.ui/web/shell/shellPage.js >+++ b/bundles/org.eclipse.orion.client.ui/web/shell/shellPage.js >@@ -26,7 +26,6 @@ > var contentTypeService, openWithCommands = [], serviceRegistry; > var pluginRegistry, pluginType, preferences, serviceElementCounter = 0; > >- var PREFIX_PROJECTFOR = "projectfor="; //$NON-NLS-0$ > var ROOT_ORIONCONTENT = new URL(require.toUrl("file"), window.location.href).pathname; //$NON-NLS-0$ > var PAGE_TEMPLATE = require.toUrl("shell/shellPage.html") + "#{,resource}"; //$NON-NLS-0$ > >@@ -935,40 +934,7 @@ > shellPageFileService.loadWorkspace(ROOT_ORIONCONTENT).then(successFn); > } > }; >- >- if (parameters.resource && parameters.resource.indexOf(PREFIX_PROJECTFOR) === 0) { >- /* Attempt to open to the project root of the specified resource */ >- var resourceValue = parameters.resource.substring(PREFIX_PROJECTFOR.length); >- fileClient.read(resourceValue, true).then( >- function(node) { >- if (node.Directory === undefined) { >- /* >- * The resource was read successfully but does not represent a file system >- * resource, so it cannot be used. Revert to the default initial location. >- */ >- defaultLocationFn(null, true); >- } else if (node.Parents && node.Parents.length > 0) { >- var projectLocation = node.Parents[node.Parents.length - 1].Location; >- defaultLocationFn(projectLocation, true); >- } else { >- /* >- * The PREFIX_PROJECTFOR value is either a project root or is below the >- * level or projects, so just take it as the starting location. >- */ >- defaultLocationFn(node.Location, true); >- } >- }, >- function(error) { >- /* >- * The PREFIX_PROJECTFOR value does not refer to a valid file system >- * location, so open to the default location. >- */ >- defaultLocationFn(null, true); >- } >- ); >- } else { >- defaultLocationFn(getCWD(), true); >- } >+ defaultLocationFn(getCWD(), true); > > /* add the locally-defined types */ > fileType = new mFileParamType.ParamTypeFile(shellPageFileService);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 419611
: 236560