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 222081 Details for
Bug 391470
Crawler search: remove the dependency on Auth.js.
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.
Patch for Mark t oreview
patch391470.txt (text/plain), 1.65 KB, created by
libing wang
on 2012-10-09 15:16:28 EDT
(
hide
)
Description:
Patch for Mark t oreview
Filename:
MIME Type:
Creator:
libing wang
Created:
2012-10-09 15:16:28 EDT
Size:
1.65 KB
patch
obsolete
>diff --git a/bundles/org.eclipse.orion.client.core/web/orion/crawler/searchCrawler.js b/bundles/org.eclipse.orion.client.core/web/orion/crawler/searchCrawler.js >index 5d546ce..57ba7f4 100644 >--- a/bundles/org.eclipse.orion.client.core/web/orion/crawler/searchCrawler.js >+++ b/bundles/org.eclipse.orion.client.core/web/orion/crawler/searchCrawler.js >@@ -12,8 +12,8 @@ > /*global define console window*/ > /*jslint regexp:false browser:true forin:true*/ > >-define(['i18n!orion/crawler/nls/messages', 'require', 'orion/searchUtils', 'orion/contentTypes', "orion/Deferred", "orion/auth"], >- function(messages, require, mSearchUtils, mContentTypes, Deferred, mAuth) { >+define(['i18n!orion/crawler/nls/messages', 'require', 'orion/searchUtils', 'orion/contentTypes', "orion/Deferred"], >+ function(messages, require, mSearchUtils, mContentTypes, Deferred) { > > /** > * This helper method implements invocation of the service call, >@@ -31,24 +31,9 @@ > function(result) { > clientDeferred.resolve(result); > }, >- //on failure we might need to retry >+ //on failure the crawling will jsut fail > function(error) { >- if (error.status === 401) { >- mAuth.handleAuthenticationError(error, function(message) { >- //try again >- fileService[funcName].apply(fileService, funcArgs).then( >- function(result) { >- clientDeferred.resolve(result); >- }, >- function(error) { >- clientDeferred.reject(error); >- } >- ); >- }); >- } else { >- //forward other errors to client >- clientDeferred.reject(error); >- } >+ clientDeferred.reject(error); > } > ); > return clientDeferred;
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 391470
: 222081