Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2009-01-23 19:08:26 +0000
committerspingel2009-01-23 19:08:26 +0000
commita54d15bd962158f8bda88c37a6e4d9fe639e5c74 (patch)
treedd151f369afba66739ae0760eaa26ec17e11cf87
parentcb0803a7ee4862168e7397e79be8f8f4610cffae (diff)
downloadorg.eclipse.mylyn.tasks-R_3_0_4.tar.gz
org.eclipse.mylyn.tasks-R_3_0_4.tar.xz
org.eclipse.mylyn.tasks-R_3_0_4.zip
RESOLVED - bug 259289: ensure Bugzilla 3.2 support or migration path for ganymede update 2R_3_0_4
https://bugs.eclipse.org/bugs/show_bug.cgi?id=259289
-rw-r--r--org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaRepositoryConnector.java2
-rw-r--r--org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/IBugzillaConstants.java7
2 files changed, 7 insertions, 2 deletions
diff --git a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaRepositoryConnector.java b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaRepositoryConnector.java
index 4f4f77583..62f8b847f 100644
--- a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaRepositoryConnector.java
+++ b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaRepositoryConnector.java
@@ -61,7 +61,7 @@ public class BugzillaRepositoryConnector extends AbstractRepositoryConnector {
private static final String CHANGED_BUGS_CGI_QUERY = "/buglist.cgi?query_format=advanced&chfieldfrom=";
- private static final String CLIENT_LABEL = "Bugzilla (supports uncustomized 2.18-3.0)";
+ private static final String CLIENT_LABEL = "Bugzilla (supports uncustomized 2.18-3.2)";
private static final String COMMENT_FORMAT = "yyyy-MM-dd HH:mm";
diff --git a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/IBugzillaConstants.java b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/IBugzillaConstants.java
index 2fa7da469..b43051d8d 100644
--- a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/IBugzillaConstants.java
+++ b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/IBugzillaConstants.java
@@ -102,11 +102,13 @@ public interface IBugzillaConstants {
/** Supported bugzilla repository versions */
static public enum BugzillaServerVersion {
- SERVER_218, SERVER_220, SERVER_222, SERVER_30;
+ SERVER_218, SERVER_220, SERVER_222, SERVER_30, SERVER_32;
@Override
public String toString() {
switch (this) {
+ case SERVER_32:
+ return "3.2";
case SERVER_30:
return "3.0";
case SERVER_222:
@@ -122,6 +124,9 @@ public interface IBugzillaConstants {
/** returns null if version string unknown* */
static public BugzillaServerVersion fromString(String version) {
+ if (version.equals(SERVER_32.toString())) {
+ return SERVER_32;
+ }
if (version.equals(SERVER_30.toString())) {
return SERVER_30;
}

Back to the top