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 129769 Details for
Bug 269803
improve error message in case of missing Bugzilla_login cookie
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]
patch
patch269803.txt (text/plain), 2.59 KB, created by
Frank Becker
on 2009-03-24 18:25:28 EDT
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Frank Becker
Created:
2009-03-24 18:25:28 EDT
Size:
2.59 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.mylyn.bugzilla.core >Index: src/org/eclipse/mylyn/internal/bugzilla/core/messages.properties >=================================================================== >RCS file: /cvsroot/tools/org.eclipse.mylyn/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/messages.properties,v >retrieving revision 1.9 >diff -u -r1.9 messages.properties >--- src/org/eclipse/mylyn/internal/bugzilla/core/messages.properties 7 Feb 2009 01:49:54 -0000 1.9 >+++ src/org/eclipse/mylyn/internal/bugzilla/core/messages.properties 24 Mar 2009 22:24:52 -0000 >@@ -112,7 +112,7 @@ > SaxMultiBugReportContentHandler_id_not_found=\ id not found. > > BugzillaStatus_errorRepository = Repository error from {0}:\n\n{1} >-BugzillaStatus_repositoryLoginFailure = Unable to login to {0}.\n\n{1}\n\nPlease validate credentials via Task Repositories view. >+BugzillaStatus_repositoryLoginFailure = Unable to login to {0}.\n{1} Please validate credentials via Task Repositories view. > BugzillaStatus_repositoryNotFound = Repository {0} could not be found. > BugzillaStatus_repositoryCommentRequired = You have to specify a new comment when making this change. Please comment on the reason for this change. > BugzillaStatus_repositoryCollision = Mid-air collision occurred while submitting to {0}. Synchronize task and re-submit changes. >Index: src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaClient.java >=================================================================== >RCS file: /cvsroot/tools/org.eclipse.mylyn/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaClient.java,v >retrieving revision 1.176 >diff -u -r1.176 BugzillaClient.java >--- src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaClient.java 18 Feb 2009 03:30:42 -0000 1.176 >+++ src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaClient.java 24 Mar 2009 22:24:52 -0000 >@@ -393,6 +393,7 @@ > RepositoryStatus.ERROR_NETWORK, "Http error: " + HttpStatus.getStatusText(code))); //$NON-NLS-1$ > } > >+ boolean oldLoggedIn = loggedIn; > if (hasAuthenticationCredentials()) { > for (Cookie cookie : httpClient.getState().getCookies()) { > if (cookie.getName().equals(COOKIE_BUGZILLA_LOGIN)) { >@@ -400,6 +401,12 @@ > break; > } > } >+ if (!oldLoggedIn && !loggedIn) { >+ throw new CoreException( >+ new BugzillaStatus(IStatus.ERROR, BugzillaCorePlugin.ID_PLUGIN, >+ RepositoryStatus.ERROR_REPOSITORY_LOGIN, repositoryUrl.toString(), >+ "HTTP Cookie not found.")); //$NON-NLS-1$ >+ } > > if (!loggedIn) { > InputStream input = getResponseStream(postMethod, monitor);
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 269803
:
129769
|
129770
|
136711
|
136712
|
211997
|
212033
|
212832
|
230752
|
231267