Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaClient.java7
-rw-r--r--org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/messages.properties2
2 files changed, 8 insertions, 1 deletions
diff --git a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaClient.java b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaClient.java
index d1c3f0761..0365a73c9 100644
--- a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaClient.java
+++ b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/BugzillaClient.java
@@ -446,6 +446,13 @@ public class BugzillaClient {
if (nameValue.length == 1) {
pairs.add(new NameValuePair(nameValue[0].trim(), "")); //$NON-NLS-1$
} else if (nameValue.length == 2 && nameValue[0] != null && nameValue[1] != null) {
+
+ //Hack around bugzilla's change of attribute name for comment search field bug#289155
+ if (nameValue[0].startsWith("long_desc")) {
+ pairs.add(new NameValuePair(nameValue[0].replace("long_desc", "longdesc"),
+ URLDecoder.decode(nameValue[1].trim(), getCharacterEncoding())));
+ }
+
pairs.add(new NameValuePair(nameValue[0].trim(), URLDecoder.decode(nameValue[1].trim(),
getCharacterEncoding())));
}
diff --git a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/messages.properties b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/messages.properties
index 36cabb877..5ebcca10a 100644
--- a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/messages.properties
+++ b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/internal/bugzilla/core/messages.properties
@@ -96,7 +96,7 @@ BugzillaOperation_Reopen_bug=Reopen bug
BugzillaOperation_Resolve_as=Resolve as
BugzillaOperation_Reassign_to_default_assignee=Reassign to default assignee
-BugzillaRepositoryConnector_BUGZILLA_SUPPORTS_2_18_TO_3_0=Bugzilla (supports uncustomized 2.18-3.2)
+BugzillaRepositoryConnector_BUGZILLA_SUPPORTS_2_18_TO_3_0=Bugzilla (supports uncustomized 3.0-3.4)
BugzillaRepositoryConnector_Check_repository_configuration=Check repository configuration: {0}
BugzillaRepositoryConnector_checking_for_changed_tasks=Checking for changed tasks
BugzillaRepositoryConnector_Query_for_changed_tasks=Query for changed tasks

Back to the top