Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 269803 | Differences between
and this patch

Collapse All | Expand All

(-)src/org/eclipse/mylyn/internal/bugzilla/core/messages.properties (-1 / +1 lines)
Lines 112-118 Link Here
112
SaxMultiBugReportContentHandler_id_not_found=\ id not found.
112
SaxMultiBugReportContentHandler_id_not_found=\ id not found.
113
113
114
BugzillaStatus_errorRepository = Repository error from {0}:\n\n{1}
114
BugzillaStatus_errorRepository = Repository error from {0}:\n\n{1}
115
BugzillaStatus_repositoryLoginFailure = Unable to login to {0}.\n\n{1}\n\nPlease validate credentials via Task Repositories view.
115
BugzillaStatus_repositoryLoginFailure = Unable to login to {0}.\n{1} Please validate credentials via Task Repositories view.
116
BugzillaStatus_repositoryNotFound = Repository {0} could not be found.
116
BugzillaStatus_repositoryNotFound = Repository {0} could not be found.
117
BugzillaStatus_repositoryCommentRequired = You have to specify a new comment when making this change. Please comment on the reason for this change.
117
BugzillaStatus_repositoryCommentRequired = You have to specify a new comment when making this change. Please comment on the reason for this change.
118
BugzillaStatus_repositoryCollision = Mid-air collision occurred while submitting to {0}. Synchronize task and re-submit changes.
118
BugzillaStatus_repositoryCollision = Mid-air collision occurred while submitting to {0}. Synchronize task and re-submit changes.
(-)src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaClient.java (+7 lines)
Lines 393-398 Link Here
393
						RepositoryStatus.ERROR_NETWORK, "Http error: " + HttpStatus.getStatusText(code))); //$NON-NLS-1$
393
						RepositoryStatus.ERROR_NETWORK, "Http error: " + HttpStatus.getStatusText(code))); //$NON-NLS-1$
394
			}
394
			}
395
395
396
			boolean oldLoggedIn = loggedIn;
396
			if (hasAuthenticationCredentials()) {
397
			if (hasAuthenticationCredentials()) {
397
				for (Cookie cookie : httpClient.getState().getCookies()) {
398
				for (Cookie cookie : httpClient.getState().getCookies()) {
398
					if (cookie.getName().equals(COOKIE_BUGZILLA_LOGIN)) {
399
					if (cookie.getName().equals(COOKIE_BUGZILLA_LOGIN)) {
Lines 400-405 Link Here
400
						break;
401
						break;
401
					}
402
					}
402
				}
403
				}
404
				if (!oldLoggedIn && !loggedIn) {
405
					throw new CoreException(
406
							new BugzillaStatus(IStatus.ERROR, BugzillaCorePlugin.ID_PLUGIN,
407
									RepositoryStatus.ERROR_REPOSITORY_LOGIN, repositoryUrl.toString(),
408
									"HTTP Cookie not found.")); //$NON-NLS-1$
409
				}
403
410
404
				if (!loggedIn) {
411
				if (!loggedIn) {
405
					InputStream input = getResponseStream(postMethod, monitor);
412
					InputStream input = getResponseStream(postMethod, monitor);

Return to bug 269803