Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 303409 Details for
Bug 443463
FEAT: Match the new db schema of bz3.0 [#3 TABLE fielddefs]
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
The patch to fix the "rename fieldid "
3.1.patch (text/plain), 2.31 KB, created by
XINSUN
on 2008-04-23 02:10:28 UTC
(
hide
)
Description:
The patch to fix the "rename fieldid "
Filename:
MIME Type:
Creator:
XINSUN
Created:
2008-04-23 02:10:28 UTC
Size:
2.31 KB
patch
obsolete
>Index: Bugzilla/BugMail.pm >=================================================================== >RCS file: /cvs/qa/hwcert/Bugzilla/BugMail.pm,v >retrieving revision 1.4 >diff -u -r1.4 BugMail.pm >--- Bugzilla/BugMail.pm 19 Jul 2007 19:31:53 -0000 1.4 >+++ Bugzilla/BugMail.pm 23 Apr 2008 02:08:06 -0000 >@@ -214,7 +214,7 @@ > " bug_when, removed, added, attach_id, fielddefs.name " . > "FROM bugs_activity, fielddefs, profiles " . > "WHERE bug_id = $id " . >- " AND fielddefs.fieldid = bugs_activity.fieldid " . >+ " AND fielddefs.id = bugs_activity.fieldid " . > " AND profiles.userid = who " . > $datepart . > " ORDER BY bug_when" >@@ -265,7 +265,7 @@ > "WHERE bugs_activity.bug_id = dependencies.dependson " . > " AND bugs.bug_id = bugs_activity.bug_id ". > " AND dependencies.blocked = $id " . >- " AND fielddefs.fieldid = bugs_activity.fieldid" . >+ " AND fielddefs.id = bugs_activity.fieldid" . > " AND (fielddefs.name = 'bug_status' " . > " OR fielddefs.name = 'resolution') " . > $datepart . >Index: CGI.pl >=================================================================== >RCS file: /cvs/qa/hwcert/CGI.pl,v >retrieving revision 1.2 >diff -u -r1.2 CGI.pl >--- CGI.pl 23 Jul 2007 16:24:24 -0000 1.2 >+++ CGI.pl 23 Apr 2008 02:08:06 -0000 >@@ -336,7 +336,7 @@ > bugs_activity.added, > profiles.realname > FROM bugs_activity $suppjoins LEFT JOIN fielddefs ON >- bugs_activity.fieldid = fielddefs.fieldid, >+ bugs_activity.fieldid = fielddefs.id, > profiles > WHERE bugs_activity.bug_id = $id $datepart > AND profiles.userid = bugs_activity.who $suppwhere >Index: globals.pl >=================================================================== >RCS file: /cvs/qa/hwcert/globals.pl,v >retrieving revision 1.23 >diff -u -r1.23 globals.pl >--- globals.pl 31 Oct 2007 14:18:20 -0000 1.23 >+++ globals.pl 23 Apr 2008 02:08:06 -0000 >@@ -159,7 +159,7 @@ > > sub GetFieldID { > my ($f) = (@_); >- SendSQL("SELECT fieldid FROM fielddefs WHERE name = " . SqlQuote($f)); >+ SendSQL("SELECT id FROM fielddefs WHERE name = " . SqlQuote($f)); > my $fieldid = FetchOneColumn(); > die "Unknown field id: $f" if !$fieldid; > return $fieldid;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 443463
: 303409