Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkersten2005-11-04 17:48:22 -0500
committermkersten2005-11-04 17:48:22 -0500
commitd92abdb89e708224bbcc8f88f20657b59365287f (patch)
tree045ae178486a08e1c2b0d1d30489934bd887e6d3
parent9a56c0aa078c1b250ee33a943e011244f2c9a7da (diff)
downloadorg.eclipse.mylyn.tasks-d92abdb89e708224bbcc8f88f20657b59365287f.tar.gz
org.eclipse.mylyn.tasks-d92abdb89e708224bbcc8f88f20657b59365287f.tar.xz
org.eclipse.mylyn.tasks-d92abdb89e708224bbcc8f88f20657b59365287f.zip
Fixed Bugzilla Bug 115017: bugzilla 2.20 hits only result in one match
-rw-r--r--org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/core/BugzillaPlugin.java2
-rw-r--r--org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/core/search/BugzillaSearchEngine.java4
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/TestPages/test-products-218.html322
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/TestPages/test-products-220.html374
-rw-r--r--org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/test/BugzillaProductParserTest.java48
-rw-r--r--org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/search/BugzillaSearchPage.java4
-rw-r--r--org.eclipse.mylyn.help.ui/doc/new.html5
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/TaskEditor.java3
8 files changed, 751 insertions, 11 deletions
diff --git a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/core/BugzillaPlugin.java b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/core/BugzillaPlugin.java
index 7135a3d89..673788d18 100644
--- a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/core/BugzillaPlugin.java
+++ b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/core/BugzillaPlugin.java
@@ -151,7 +151,7 @@ public class BugzillaPlugin extends AbstractUIPlugin {
public boolean isServerCompatability218(){
return IBugzillaConstants.SERVER_218.equals(getPreferenceStore().getString(IBugzillaConstants.SERVER_VERSION))
- || IBugzillaConstants.SERVER_218.equals(getPreferenceStore().getString(IBugzillaConstants.SERVER_VERSION));
+ || IBugzillaConstants.SERVER_220.equals(getPreferenceStore().getString(IBugzillaConstants.SERVER_VERSION));
}
public boolean isServerCompatability220(){
diff --git a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/core/search/BugzillaSearchEngine.java b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/core/search/BugzillaSearchEngine.java
index 2c9298281..542b4467b 100644
--- a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/core/search/BugzillaSearchEngine.java
+++ b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/core/search/BugzillaSearchEngine.java
@@ -144,7 +144,7 @@ public class BugzillaSearchEngine {
try {
monitor.beginTask(QUERYING_SERVER, IProgressMonitor.UNKNOWN);
collector.aboutToStart(startMatches);
-
+
URLConnection cntx = BugzillaPlugin.getDefault().getUrlConnection(new URL(urlString));
if(cntx == null || !(cntx instanceof HttpURLConnection)) {
return null;
@@ -220,7 +220,7 @@ public class BugzillaSearchEngine {
} else if (re.matches(line, match)) {
RegularExpression regularExpression;
if (BugzillaPlugin.getDefault().isServerCompatability220()) {
- regularExpression = reValueBugzilla220;
+ regularExpression = reValueBugzilla220;
} else {
regularExpression = reValue;
}
diff --git a/org.eclipse.mylyn.bugzilla.tests/TestPages/test-products-218.html b/org.eclipse.mylyn.bugzilla.tests/TestPages/test-products-218.html
new file mode 100644
index 000000000..8bccf6e51
--- /dev/null
+++ b/org.eclipse.mylyn.bugzilla.tests/TestPages/test-products-218.html
@@ -0,0 +1,322 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html>
+ <head>
+ <title>Find a Specific Bug</title>
+
+
+<link rel="Top" href="https://bugs.eclipse.org/bugs/">
+
+
+
+
+
+
+
+
+ <link rel="Saved&nbsp;Searches" title="My Bugs"
+ href="buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&email1=beatmik%40acm.org&emailtype1=exact&emailassigned_to1=1&emailreporter1=1">
+
+ <link rel="Saved&nbsp;Searches"
+ title="All Open Mylar Bugs"
+ href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=All%20Open%20Mylar%20Bugs">
+ <link rel="Saved&nbsp;Searches"
+ title="Open P1, P2"
+ href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=Open%20P1%2C%20P2">
+
+ <link rel="Saved&nbsp;Searches"
+ title="Resolved for 0.3.1"
+ href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=Resolved%20for%200.3.1">
+ <link rel="Saved&nbsp;Searches"
+ title="Resolved for 0.3.10"
+ href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=Resolved%20for%200.3.10">
+ <link rel="Saved&nbsp;Searches"
+ title="Resolved for 0.3.11"
+ href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=Resolved%20for%200.3.11">
+ <link rel="Saved&nbsp;Searches"
+ title="Resolved for 0.3.12"
+ href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=Resolved%20for%200.3.12">
+ <link rel="Saved&nbsp;Searches"
+ title="Resolved for 0.3.2"
+ href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=Resolved%20for%200.3.2">
+ <link rel="Saved&nbsp;Searches"
+ title="Resolved for 0.3.3"
+ href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=Resolved%20for%200.3.3">
+ <link rel="Saved&nbsp;Searches"
+ title="Resolved for 0.3.4"
+ href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=Resolved%20for%200.3.4">
+ <link rel="Saved&nbsp;Searches"
+ title="Resolved for 0.3.5"
+ href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=Resolved%20for%200.3.5">
+ <link rel="Saved&nbsp;Searches"
+ title="Resolved for 0.3.6"
+ href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=Resolved%20for%200.3.6">
+
+ <link rel="Saved&nbsp;Searches"
+ title="Resolved for 0.3.7"
+ href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=Resolved%20for%200.3.7">
+ <link rel="Saved&nbsp;Searches"
+ title="Resolved for 0.3.8"
+ href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=Resolved%20for%200.3.8">
+ <link rel="Saved&nbsp;Searches"
+ title="Resolved for 0.3.9"
+ href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=Resolved%20for%200.3.9">
+ <link rel="Saved&nbsp;Searches"
+ title="Resolved for 0.4"
+ href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=Resolved%20for%200.4">
+ <link rel="Saved&nbsp;Searches"
+ title="Resolved for 0.4.1"
+ href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=Resolved%20for%200.4.1">
+
+
+ <script type="text/javascript">
+ <!--
+
+ function initHelp() {}
+ // -->
+ </script>
+
+ <link href="css/global.css" rel="stylesheet" type="text/css">
+
+ <style type="text/css">td.selected_tab {
+ border-width: 2px 2px 0px;
+ border-style: solid;
+ }
+ td.unselected_tab, td.spacer {
+ border-width: 0px 0px 2px 0px;
+ border-style: solid;
+ }
+ </style>
+
+
+ </head>
+
+
+
+ <body bgcolor="#ffffff" onload=""
+ class="bugs-eclipse-org-bugs">
+
+
+<!-- 1.0@bugzilla.org -->
+
+
+
+<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000EE" VLINK="#551A8B" ALINK="#FF0000" >
+<table BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH="100%" ><tr><td
+WIDTH="100%"><table BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH="100%"
+BGCOLOR="#006699" ><tr><td BGCOLOR="#000000" width="116" ><img
+src="images/EclipseBannerPic.jpg" width="115" height="50"></td><td
+WIDTH="637"><a href=http://www.eclipse.org><img SRC="images/gradient.jpg" BORDER=0 height=50
+width=282></a></td><td WIDTH="250"><img src="images/eproject-simple.gif"
+width="250" height="48"></td></tr></table></td></tr></table>
+<center>
+ <table cellspacing="0" cellpadding="10" border="0" width="100%">
+ <tr>
+ <td class="spacer">&nbsp;</td>
+
+ <td align="center" bgcolor="lightblue" class="selected_tab">Find a Specific Bug
+ </td>
+ <td align="center" bgcolor="#BBBBEE" class="unselected_tab">
+
+ <a href="query.cgi?format=advanced" >Advanced Search
+ </a>
+ </td>
+
+ <td class="spacer">&nbsp;</td>
+ </tr>
+ </table>
+</center>
+
+<p>
+Find a specific bug by entering words that describe it. Bugzilla will search bug descriptions and comments
+for those words and return a list of matching bugs sorted
+by relevance.
+</p>
+
+<p>
+For example, if the bug you are looking for is a browser crash when you go to a secure web site with an embedded Flash animation, you might search
+for "crash secure SSL flash".
+</p>
+
+<form name="queryform" method="get" action="buglist.cgi">
+<input type="hidden" name="query_format" value="specific">
+<input type="hidden" name="order" value="relevance desc">
+
+<table>
+ <tr>
+ <td align="right" valign="baseline">
+ <b><label for="bug_status">Status:</label></b>
+ </td>
+
+ <td>
+ <select name="bug_status" id="bug_status">
+ <option value="__open__" >open
+ </option>
+ <option value="__closed__" >closed
+ </option>
+ <option value="__all__" >all
+ </option>
+ </select>
+ </td>
+
+ </tr>
+ <tr>
+ <td align="right" valign="baseline">
+ <b><label for="product">Product:</label></b>
+ </td>
+ <td>
+ <select name="product" id="product">
+ <option value="">All</option>
+
+ <option value="AJDT">AJDT</option>
+ <option value="ALF">ALF</option>
+ <option value="AspectJ">AspectJ</option>
+ <option value="BIRT">BIRT</option>
+ <option value="Buckminster">Buckminster</option>
+ <option value="CDT">CDT</option>
+
+ <option value="CME">CME</option>
+ <option value="Community">Community</option>
+ <option value="Dali">Dali</option>
+ <option value="Data Tools">Data Tools</option>
+ <option value="DSDP">DSDP</option>
+ <option value="ECESIS">ECESIS</option>
+
+ <option value="ECF">ECF</option>
+ <option value="EMF">EMF</option>
+ <option value="EMFT">EMFT</option>
+ <option value="Equinox">Equinox</option>
+ <option value="ERCP">ERCP</option>
+ <option value="GEF">GEF</option>
+
+ <option value="GMF">GMF</option>
+ <option value="GMT">GMT</option>
+ <option value="Higgins">Higgins</option>
+ <option value="Hyades">Hyades</option>
+ <option value="Java Server Faces">Java Server Faces</option>
+ <option value="JDT">JDT</option>
+
+ <option value="JSR220-ORM">JSR220-ORM</option>
+ <option value="Laszlo">Laszlo</option>
+ <option value="Lepido">Lepido</option>
+ <option value="MDDi">MDDi</option>
+ <option value="Mylar">Mylar</option>
+ <option value="PDE">PDE</option>
+
+ <option value="Phoenix">Phoenix</option>
+ <option value="Photran">Photran</option>
+ <option value="Platform">Platform</option>
+ <option value="Pollinate">Pollinate</option>
+ <option value="PTP">PTP</option>
+ <option value="Target Management">Target Management</option>
+
+ <option value="TPTP">TPTP</option>
+ <option value="UML2">UML2</option>
+ <option value="VE">VE</option>
+ <option value="VTP">VTP</option>
+ <option value="Web Tools">Web Tools</option>
+ <option value="WSVT">WSVT</option>
+
+ <option value="XSD">XSD</option>
+ <option value="z_Archived">z_Archived</option>
+ </select>
+ </td>
+ </tr>
+ <tr>
+ <td align="right" valign="baseline">
+ <b><label for="content">Words:</label></b>
+
+ </td>
+ <td>
+ <input name="content" size="40" id="content"
+ value="">
+ <script language="JavaScript" type="text/javascript"> <!--
+ document.forms['queryform'].content.focus();
+ // -->
+ </script>
+ </td>
+ </tr>
+ <tr>
+ <td></td>
+
+ <td>
+ <input type="submit" value="Search">
+ </td>
+ </tr>
+</table>
+</form>
+<div id="footer">
+ <div class="intro"></div>
+
+
+
+
+<form method="get" action="show_bug.cgi">
+<div id="useful-links">
+ <div id="links-actions">
+ <div class="label">Actions:</div>
+ <div class="links">
+ <a href="https://bugs.eclipse.org/bugs/">Home</a> |
+ <a href="enter_bug.cgi">New</a> |
+ <a href="query.cgi">Search</a> |
+
+ <input class="btn" type="submit" value="Find"> bug #
+ <input class="txt" name="id" size="6"> |
+
+ <a href="report.cgi">Reports</a>
+
+ | <a href="request.cgi?requester=beatmik%40acm.org&amp;requestee=beatmik%40acm.org&amp;do_union=1&amp;group=type">My Requests</a>
+
+
+ | <a href="votes.cgi?action=show_user">My&nbsp;Votes</a>
+
+ | <a href="relogin.cgi">Log&nbsp;out</a>&nbsp;beatmik&#64;acm.org
+ </div>
+ </div>
+
+ <div id="links-edit">
+ <div class="label">Edit:</div>
+
+ <div class="links">
+
+ <a href="userprefs.cgi">Prefs</a>
+ </div>
+ </div>
+
+
+
+
+ <div id="links-saved">
+ <div class="label">
+ Saved&nbsp;Searches:
+ </div>
+
+ <div class="links">
+ <a href="buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&email1=beatmik%40acm.org&emailtype1=exact&emailassigned_to1=1&emailreporter1=1">My&nbsp;Bugs</a>
+ |
+ <a href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=All%20Open%20Mylar%20Bugs"><nobr>All Open Mylar Bugs</nobr></a> |
+ <a href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=Open%20P1%2C%20P2"><nobr>Open P1, P2</nobr></a> |
+ <a href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=Resolved%20for%200.3.1"><nobr>Resolved for 0.3.1</nobr></a> |
+ <a href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=Resolved%20for%200.3.10"><nobr>Resolved for 0.3.10</nobr></a> |
+ <a href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=Resolved%20for%200.3.11"><nobr>Resolved for 0.3.11</nobr></a> |
+ <a href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=Resolved%20for%200.3.12"><nobr>Resolved for 0.3.12</nobr></a> |
+ <a href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=Resolved%20for%200.3.2"><nobr>Resolved for 0.3.2</nobr></a> |
+ <a href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=Resolved%20for%200.3.3"><nobr>Resolved for 0.3.3</nobr></a> |
+ <a href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=Resolved%20for%200.3.4"><nobr>Resolved for 0.3.4</nobr></a> |
+ <a href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=Resolved%20for%200.3.5"><nobr>Resolved for 0.3.5</nobr></a> |
+ <a href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=Resolved%20for%200.3.6"><nobr>Resolved for 0.3.6</nobr></a> |
+ <a href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=Resolved%20for%200.3.7"><nobr>Resolved for 0.3.7</nobr></a> |
+ <a href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=Resolved%20for%200.3.8"><nobr>Resolved for 0.3.8</nobr></a> |
+ <a href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=Resolved%20for%200.3.9"><nobr>Resolved for 0.3.9</nobr></a> |
+ <a href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=Resolved%20for%200.4"><nobr>Resolved for 0.4</nobr></a> |
+ <a href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=Resolved%20for%200.4.1"><nobr>Resolved for 0.4.1</nobr></a>
+
+ </div>
+ </div>
+</div>
+</form>
+
+ <div class="outro"></div>
+</div>
+
+</body>
+</html> \ No newline at end of file
diff --git a/org.eclipse.mylyn.bugzilla.tests/TestPages/test-products-220.html b/org.eclipse.mylyn.bugzilla.tests/TestPages/test-products-220.html
new file mode 100644
index 000000000..0639fc7b7
--- /dev/null
+++ b/org.eclipse.mylyn.bugzilla.tests/TestPages/test-products-220.html
@@ -0,0 +1,374 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+ "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+ <head>
+ <title>Find a Specific Bug</title>
+
+
+<link rel="Top" href="https://bugs.eclipse.org/bugs/">
+
+
+
+
+
+
+
+
+ <link rel="Saved&nbsp;Searches" title="My Bugs"
+ href="buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&email1=beatmik%40acm.org&emailtype1=exact&emailassigned_to1=1&emailreporter1=1">
+
+ <link rel="Saved&nbsp;Searches"
+ title="All Open Mylar Bugs"
+ href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=All%20Open%20Mylar%20Bugs">
+ <link rel="Saved&nbsp;Searches"
+ title="Open P1, P2"
+ href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=Open%20P1%2C%20P2">
+
+ <link rel="Saved&nbsp;Searches"
+ title="Resolved for 0.3.1"
+ href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=Resolved%20for%200.3.1">
+ <link rel="Saved&nbsp;Searches"
+ title="Resolved for 0.3.10"
+ href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=Resolved%20for%200.3.10">
+ <link rel="Saved&nbsp;Searches"
+ title="Resolved for 0.3.11"
+ href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=Resolved%20for%200.3.11">
+ <link rel="Saved&nbsp;Searches"
+ title="Resolved for 0.3.12"
+ href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=Resolved%20for%200.3.12">
+ <link rel="Saved&nbsp;Searches"
+ title="Resolved for 0.3.2"
+ href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=Resolved%20for%200.3.2">
+ <link rel="Saved&nbsp;Searches"
+ title="Resolved for 0.3.3"
+ href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=Resolved%20for%200.3.3">
+ <link rel="Saved&nbsp;Searches"
+ title="Resolved for 0.3.4"
+ href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=Resolved%20for%200.3.4">
+ <link rel="Saved&nbsp;Searches"
+ title="Resolved for 0.3.5"
+ href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=Resolved%20for%200.3.5">
+ <link rel="Saved&nbsp;Searches"
+ title="Resolved for 0.3.6"
+ href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=Resolved%20for%200.3.6">
+
+ <link rel="Saved&nbsp;Searches"
+ title="Resolved for 0.3.7"
+ href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=Resolved%20for%200.3.7">
+ <link rel="Saved&nbsp;Searches"
+ title="Resolved for 0.3.8"
+ href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=Resolved%20for%200.3.8">
+ <link rel="Saved&nbsp;Searches"
+ title="Resolved for 0.3.9"
+ href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=Resolved%20for%200.3.9">
+ <link rel="Saved&nbsp;Searches"
+ title="Resolved for 0.4"
+ href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=Resolved%20for%200.4">
+
+
+
+ <script type="text/javascript">
+ <!--
+
+ function initHelp() {}
+ // -->
+ </script>
+
+ <link href="skins/standard/global.css" rel="stylesheet" type="text/css">
+ <link href="skins/custom/global.css" rel="stylesheet" type="text/css">
+
+ <style type="text/css">td.selected_tab {
+ border-width: 2px 2px 0px;
+ border-style: solid;
+ }
+ td.unselected_tab, td.spacer {
+ border-width: 0px 0px 2px 0px;
+ border-style: solid;
+ }
+ </style>
+
+
+
+
+ </head>
+
+
+
+ <body onload=""
+ class="bugs-eclipse-org-bugs">
+
+
+<!-- 1.0@bugzilla.org -->
+
+
+
+<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000EE" VLINK="#551A8B" ALINK="#FF0000" >
+<table BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH="100%" ><tr><td
+WIDTH="100%"><table BORDER=0 CELLSPACING=0 CELLPADDING=0 WIDTH="100%"
+BGCOLOR="#006699" ><tr><td BGCOLOR="#000000" width="116" ><img
+src="images/EclipseBannerPic.jpg" width="115" height="50"></td><td
+WIDTH="637"><a href=http://www.eclipse.org><img SRC="images/gradient.jpg" BORDER=0 height=50
+width=282></a></td><td WIDTH="250"><img src="images/eproject-simple.gif"
+width="250" height="48"></td></tr></table></td></tr></table>
+
+<div id="header">
+
+
+</div>
+<center>
+ <table cellspacing="0" cellpadding="10" border="0" width="100%">
+ <tr>
+ <td class="spacer">&nbsp;</td>
+
+
+ <td align="center" bgcolor="lightblue" class="selected_tab">Find a Specific Bug
+ </td>
+ <td align="center" bgcolor="#BBBBEE" class="unselected_tab">
+ <a href="query.cgi?format=advanced" >Advanced Search
+ </a>
+ </td>
+
+ <td class="spacer">&nbsp;</td>
+ </tr>
+ </table>
+</center>
+
+<p>
+Find a specific bug by entering words that describe it. Bugzilla will search bug descriptions and comments
+for those words and return a list of matching bugs sorted
+by relevance.
+</p>
+
+<p>
+For example, if the bug you are looking for is a browser crash when you go to a secure web site with an embedded Flash animation, you might search
+for "crash secure SSL flash".
+</p>
+
+<form name="queryform" method="get" action="buglist.cgi">
+<input type="hidden" name="query_format" value="specific">
+<input type="hidden" name="order" value="relevance desc">
+
+<table>
+ <tr>
+ <td align="right" valign="baseline">
+
+ <b><label for="bug_status">Status:</label></b>
+ </td>
+ <td>
+ <select name="bug_status" id="bug_status">
+ <option value="__open__" >Open
+ </option>
+ <option value="__closed__" >Closed
+ </option>
+ <option value="__all__" >All
+ </option>
+
+ </select>
+ </td>
+ </tr>
+ <tr>
+ <td align="right" valign="baseline">
+ <b><label for="product">Product:</label></b>
+ </td>
+ <td>
+
+ <select name="product" id="product">
+ <option value="">All</option>
+ <option value="AJDT">AJDT
+ </option>
+ <option value="ALF">ALF
+ </option>
+ <option value="AspectJ">AspectJ
+ </option>
+ <option value="BIRT">BIRT
+ </option>
+
+ <option value="Buckminster">Buckminster
+ </option>
+ <option value="CDT">CDT
+ </option>
+ <option value="CME">CME
+ </option>
+ <option value="Community">Community
+ </option>
+ <option value="Dali">Dali
+ </option>
+ <option value="Data Tools">Data Tools
+ </option>
+
+ <option value="DSDP">DSDP
+ </option>
+ <option value="ECESIS">ECESIS
+ </option>
+ <option value="ECF">ECF
+ </option>
+ <option value="EMF">EMF
+ </option>
+ <option value="EMFT">EMFT
+ </option>
+ <option value="Equinox">Equinox
+ </option>
+
+ <option value="ERCP">ERCP
+ </option>
+ <option value="GEF">GEF
+ </option>
+ <option value="GMF">GMF
+ </option>
+ <option value="GMT">GMT
+ </option>
+ <option value="Higgins">Higgins
+ </option>
+ <option value="Hyades">Hyades
+ </option>
+
+ <option value="Java Server Faces">Java Server Faces
+ </option>
+ <option value="JDT">JDT
+ </option>
+ <option value="JSR220-ORM">JSR220-ORM
+ </option>
+ <option value="Laszlo">Laszlo
+ </option>
+ <option value="Lepido">Lepido
+ </option>
+ <option value="MDDi">MDDi
+ </option>
+
+ <option value="Mylar">Mylar
+ </option>
+ <option value="PDE">PDE
+ </option>
+ <option value="Phoenix">Phoenix
+ </option>
+ <option value="Photran">Photran
+ </option>
+ <option value="Platform">Platform
+ </option>
+ <option value="Pollinate">Pollinate
+ </option>
+
+ <option value="PTP">PTP
+ </option>
+ <option value="Target Management">Target Management
+ </option>
+ <option value="TPTP">TPTP
+ </option>
+ <option value="UML2">UML2
+ </option>
+ <option value="VE">VE
+ </option>
+ <option value="VTP">VTP
+ </option>
+
+ <option value="Web Tools">Web Tools
+ </option>
+ <option value="WSVT">WSVT
+ </option>
+ <option value="XSD">XSD
+ </option>
+ <option value="z_Archived">z_Archived
+ </option>
+ </select>
+ </td>
+ </tr>
+
+ <tr>
+ <td align="right" valign="baseline">
+ <b><label for="content">Words:</label></b>
+ </td>
+ <td>
+ <input name="content" size="40" id="content"
+ value="">
+ <script type="text/javascript"> <!--
+ document.forms['queryform'].content.focus();
+ // -->
+ </script>
+ </td>
+
+ </tr>
+ <tr>
+ <td></td>
+ <td>
+ <input type="submit" value="Search">
+ </td>
+ </tr>
+</table>
+</form>
+<div id="footer">
+
+ <div class="intro"></div>
+
+
+
+
+<form method="get" action="show_bug.cgi">
+<div id="useful-links">
+ <div id="links-actions">
+ <div class="label">Actions:</div>
+ <div class="links">
+ <a href="./">Home</a> |
+ <a href="enter_bug.cgi">New</a> |
+ <a href="query.cgi">Search</a> |
+ bug # <input class="txt" name="id" size="6">
+
+ <input class="btn" type="submit" value="Find"> |
+
+ <a href="report.cgi">Reports</a>
+
+ | <a href="request.cgi?requester=beatmik%40acm.org&amp;requestee=beatmik%40acm.org&amp;do_union=1&amp;group=type">My Requests</a>
+
+ | <a href="votes.cgi?action=show_user">My&nbsp;Votes</a>
+
+ | <a href="relogin.cgi">Log&nbsp;out</a>&nbsp;beatmik&#64;acm.org
+ </div>
+
+ </div>
+
+ <div id="links-edit">
+ <div class="label">Edit:</div>
+ <div class="links">
+
+ <a href="userprefs.cgi">Prefs</a>
+ </div>
+ </div>
+
+
+
+
+ <div id="links-saved">
+
+ <div class="label">
+ Saved&nbsp;Searches:
+ </div>
+ <div class="links">
+ <a href="buglist.cgi?bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&email1=beatmik%40acm.org&emailtype1=exact&emailassigned_to1=1&emailreporter1=1">My&nbsp;Bugs</a>
+ |
+ <a href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=All%20Open%20Mylar%20Bugs">All&nbsp;Open&nbsp;Mylar&nbsp;Bugs</a> |
+ <a href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=Open%20P1%2C%20P2">Open&nbsp;P1,&nbsp;P2</a> |
+ <a href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=Resolved%20for%200.3.1">Resolved&nbsp;for&nbsp;0.3.1</a> |
+ <a href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=Resolved%20for%200.3.10">Resolved&nbsp;for&nbsp;0.3.10</a> |
+ <a href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=Resolved%20for%200.3.11">Resolved&nbsp;for&nbsp;0.3.11</a> |
+ <a href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=Resolved%20for%200.3.12">Resolved&nbsp;for&nbsp;0.3.12</a> |
+ <a href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=Resolved%20for%200.3.2">Resolved&nbsp;for&nbsp;0.3.2</a> |
+ <a href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=Resolved%20for%200.3.3">Resolved&nbsp;for&nbsp;0.3.3</a> |
+ <a href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=Resolved%20for%200.3.4">Resolved&nbsp;for&nbsp;0.3.4</a> |
+ <a href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=Resolved%20for%200.3.5">Resolved&nbsp;for&nbsp;0.3.5</a> |
+ <a href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=Resolved%20for%200.3.6">Resolved&nbsp;for&nbsp;0.3.6</a> |
+ <a href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=Resolved%20for%200.3.7">Resolved&nbsp;for&nbsp;0.3.7</a> |
+ <a href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=Resolved%20for%200.3.8">Resolved&nbsp;for&nbsp;0.3.8</a> |
+ <a href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=Resolved%20for%200.3.9">Resolved&nbsp;for&nbsp;0.3.9</a> |
+ <a href="buglist.cgi?cmdtype=runnamed&amp;namedcmd=Resolved%20for%200.4">Resolved&nbsp;for&nbsp;0.4</a>
+
+ </div>
+ </div>
+
+
+</div>
+</form>
+
+ <div class="outro"></div>
+</div>
+
+</body>
+</html> \ No newline at end of file
diff --git a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/test/BugzillaProductParserTest.java b/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/test/BugzillaProductParserTest.java
index 733dcedd0..bd1033994 100644
--- a/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/test/BugzillaProductParserTest.java
+++ b/org.eclipse.mylyn.bugzilla.tests/src/org/eclipse/mylyn/bugzilla/test/BugzillaProductParserTest.java
@@ -12,11 +12,15 @@ package org.eclipse.mylar.bugzilla.test;
import java.io.File;
import java.io.FileReader;
+import java.io.IOException;
import java.io.Reader;
+import java.text.ParseException;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
+import javax.security.auth.login.LoginException;
+
import junit.framework.TestCase;
import org.eclipse.core.runtime.Path;
@@ -24,9 +28,10 @@ import org.eclipse.mylar.bugzilla.core.BugzillaPlugin;
import org.eclipse.mylar.bugzilla.core.IBugzillaConstants;
import org.eclipse.mylar.bugzilla.core.internal.ProductParser;
-
/**
* Tests for parsing Product Page for new Bugzilla reports
+ *
+ * @author Mik Kersten
*/
public class BugzillaProductParserTest extends TestCase {
@@ -38,15 +43,50 @@ public class BugzillaProductParserTest extends TestCase {
super(arg0);
}
+ public void test220Products() throws LoginException, IOException, ParseException {
+ BugzillaPlugin.getDefault().getPluginPreferences().setValue(
+ IBugzillaConstants.SERVER_VERSION,
+ IBugzillaConstants.SERVER_220);
+
+ File file = FileTool.getFileInPlugin(BugzillaTestPlugin.getDefault(), new Path("TestPages/test-products-220.html"));
+ Reader in = new FileReader(file);
+ List<String> productList = new ArrayList<String>();
+ productList = new ProductParser(in).getProducts();
+
+ Iterator<String> itr = productList.iterator();
+ assertTrue(itr.hasNext());
+ assertEquals("AJDT", "AJDT", itr.next());
+ assertEquals("ALF", "ALF", itr.next());
+ assertEquals("AspectJ", "AspectJ", itr.next());
+ assertEquals("BIRT", "BIRT", itr.next());
+ }
+
+ public void test218Products() throws LoginException, IOException, ParseException {
+ BugzillaPlugin.getDefault().getPluginPreferences().setValue(
+ IBugzillaConstants.SERVER_VERSION,
+ IBugzillaConstants.SERVER_218);
+
+ File file = FileTool.getFileInPlugin(BugzillaTestPlugin.getDefault(), new Path("TestPages/test-products-218.html"));
+ Reader in = new FileReader(file);
+ List<String> productList = new ArrayList<String>();
+ productList = new ProductParser(in).getProducts();
+
+ Iterator<String> itr = productList.iterator();
+ assertTrue(itr.hasNext());
+ assertEquals("AJDT", "AJDT", itr.next());
+ assertEquals("ALF", "ALF", itr.next());
+ assertEquals("AspectJ", "AspectJ", itr.next());
+ assertEquals("BIRT", "BIRT", itr.next());
+ }
+
public void testFullReportBugNoBug() throws Exception {
BugzillaPlugin.getDefault().getPluginPreferences().setValue(
IBugzillaConstants.SERVER_VERSION,
IBugzillaConstants.SERVER_218);
- File f = FileTool.getFileInPlugin(BugzillaTestPlugin.getDefault(), new Path("TestPages/product-page.html"));
-
- Reader in = new FileReader(f);
+ File file = FileTool.getFileInPlugin(BugzillaTestPlugin.getDefault(), new Path("TestPages/product-page.html"));
+ Reader in = new FileReader(file);
List<String> productList = new ArrayList<String>();
productList = new ProductParser(in).getProducts();
diff --git a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/search/BugzillaSearchPage.java b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/search/BugzillaSearchPage.java
index 096fd170d..7691adbce 100644
--- a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/search/BugzillaSearchPage.java
+++ b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/search/BugzillaSearchPage.java
@@ -605,12 +605,12 @@ public class BugzillaSearchPage extends DialogPage implements ISearchPage {
// Info text
label = new Label(group, SWT.LEFT);
- label.setText("Update search options from server (may take several seconds):");
+ label.setText("Update search options from server:");
gd = new GridData(GridData.BEGINNING);
label.setLayoutData(gd);
updateButton = new Button(group, SWT.LEFT | SWT.PUSH);
- updateButton.setText("Update");
+ updateButton.setText("Update Options");
updateButton.setLayoutData(new GridData());
diff --git a/org.eclipse.mylyn.help.ui/doc/new.html b/org.eclipse.mylyn.help.ui/doc/new.html
index e6ce5a2e1..0d28cb141 100644
--- a/org.eclipse.mylyn.help.ui/doc/new.html
+++ b/org.eclipse.mylyn.help.ui/doc/new.html
@@ -22,7 +22,10 @@ Submit feature requests to
</td>
<td valign="top" width="70%">
<span style="background-color: #FFFF00">New editor tab makes it
- quicker to flip into browser view, now default, chage pref</span><p>
+ quicker to flip into browser view, now default, chage pref.</span><p>
+ <span style="background-color: #FFFF00">Have to update your queries
+ by double-clicking them and hitting &quot;update&quot;, then OK.</span></p>
+ <p>
&nbsp;</td>
</tr>
<tr>
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/TaskEditor.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/TaskEditor.java
index e7ebae779..c3951a78b 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/TaskEditor.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/TaskEditor.java
@@ -130,7 +130,8 @@ public class TaskEditor extends MultiPageEditorPart {
int index = addPage(webBrowser);
setPageText(index, ISSUE_WEB_PAGE_LABEL);
webBrowser.setUrl(task.getIssueReportURL());
- if (task.isDirectlyModifiable()) setActivePage(index);
+// if (task.isDirectlyModifiable())
+ setActivePage(index);
} catch (RuntimeException e) {
MylarPlugin.fail(e, "could not open issue report web page", false);
}

Back to the top