[AppDB] submiting new bugs does not work.
tony_lambregts at telusplanet.net
tony_lambregts at telusplanet.net
Sun Jan 9 19:06:53 CST 2005
There is a bug report for this http://bugs.winehq.org/show_bug.cgi?id=2645
While I was at it I made it use the defines BUGZILLA_ROOT and APPDB_OWNER_URL
from the config file as well.
Change Log: Fix up submitting bugs (for apps)
Files Changed: bugs.php
-------------- next part --------------
Index: bugs.php
===================================================================
RCS file: /home/wine/appdb/bugs.php,v
retrieving revision 1.9
diff -u -r1.9 bugs.php
--- bugs.php 29 Dec 2004 20:21:31 -0000 1.9
+++ bugs.php 10 Jan 2005 00:59:47 -0000
@@ -168,14 +168,14 @@
echo "<tr class=color0 valign=top><td width='250' align=right> <b>Vendor</b></td><td width='75%'> ".
" <a href='vendorview.php?vendorId=$vendor->vendorId'> ".stripslashes($vendor->vendorName)." </a> \n";
echo "<tr class=color1 valign=top><td width='250' align=right> <b>All Bugs</b></td><td width='75%'> ".
- " <a href='http://bugs.winehq.org/buglist.cgi?product=Wine&bug_file_loc_type=allwords&bug_file_loc=appdb ".$data->appId."'>
+ " <a href='".BUGZILLA_ROOT."buglist.cgi?product=Wine&bug_file_loc_type=allwords&bug_file_loc=appdb ".$data->appId."'>
Look for All bugs in bugzilla </a> \n";
echo "<tr class=color0 valign=top><td width=250 align=right> <b>Open Bugs</b></td><td width='75%'> ".
- " <a href='http://bugs.winehq.org/buglist.cgi?product=Wine".
+ " <a href='".BUGZILLA_ROOT."buglist.cgi?product=Wine".
"&bug_status=UNCONFIRMED&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&bug_file_loc_type=allwords&bug_file_loc=appdb ".$data->appId."'>
Look for Open bugs in bugzilla </a> \n";
echo "<tr class=color1 valign=top><td width='250' align=right> <b>Submit a New Bug</b></td><td width='75%'> ".
- " <a href='http://bugs.winehq.org/enter_bug.cgi?product=wine&bug_file_loc=http://appdb.winehq.org/appview.php?appid=".$data->appId."'>
+ " <a href='".BUGZILLA_ROOT."enter_bug.cgi?product=Wine&bug_file_loc=".APPDB_OWNER_URL."appview.php?appid=".$data->appId."'>
Submit a new bug in bugzilla </a> \n";
echo "</td></tr>\n";
@@ -190,8 +190,8 @@
<p>The link between the Application Database and Bugzilla is based on the bug having the following URL
<?
- echo "<a href='http://appdb.winehq.org/appview.php?appId=".$data->appId."'>
- http://appdb.winehq.org/appview.php?appId=".$data->appId."</a> \n";
+ echo "<a href='".APPDB_OWNER_URL."appview.php?appId=".$data->appId."'>
+ ".APPDB_OWNER_URL."appview.php?appId=".$data->appId."</a> \n";
?>
in the bug's "URL" Field. If it is not entered, this search page can not find it.
<?
More information about the wine-patches
mailing list