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 134164 Details for
Bug 274739
[transport] Typo in RepositoryStatus causes unknown status codes to cause bad message
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]
Fix of problem
Bug274739.txt (text/plain), 1.38 KB, created by
Henrik Lindberg
on 2009-05-02 20:04:17 EDT
(
hide
)
Description:
Fix of problem
Filename:
MIME Type:
Creator:
Henrik Lindberg
Created:
2009-05-02 20:04:17 EDT
Size:
1.38 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.equinox.p2.repository >Index: src/org/eclipse/equinox/internal/p2/repository/RepositoryStatus.java >=================================================================== >RCS file: /cvsroot/rt/org.eclipse.equinox/p2/bundles/org.eclipse.equinox.p2.repository/src/org/eclipse/equinox/internal/p2/repository/RepositoryStatus.java,v >retrieving revision 1.4 >diff -u -r1.4 RepositoryStatus.java >--- src/org/eclipse/equinox/internal/p2/repository/RepositoryStatus.java 30 Apr 2009 18:55:09 -0000 1.4 >+++ src/org/eclipse/equinox/internal/p2/repository/RepositoryStatus.java 3 May 2009 00:02:44 -0000 >@@ -103,7 +103,7 @@ > return NLS.bind(Messages.TransportErrorTranslator_510, toDownload); > > default : >- return NLS.bind(Messages.TransportErrorTranslator_UnknownErrorCode + Integer.toString(code), toDownload); >+ return NLS.bind(Messages.TransportErrorTranslator_UnknownErrorCode, Integer.toString(code), toDownload); > } > } > >@@ -146,7 +146,7 @@ > // Switch on error codes in the HTTP error code range > if (code >= 400 && code <= 600) { > int provisionCode = ProvisionException.REPOSITORY_FAILED_READ; >- if (code == 401 || code == 500) >+ if (code == 401 || code == 403 || code == 407) > provisionCode = ProvisionException.REPOSITORY_FAILED_AUTHENTICATION; > else if (code == 404) > provisionCode = ProvisionException.ARTIFACT_NOT_FOUND;
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 274739
: 134164