Bug 499315 - RH "My Front Page" does not include MODIFIED CC bugs
Summary: RH "My Front Page" does not include MODIFIED CC bugs
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Bugzilla
Classification: Community
Component: Bugzilla General
Version: 3.2
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Noura El hawary
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-05-06 04:51 UTC by Allen Kistler
Modified: 2009-05-08 10:10 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-05-08 10:10:48 UTC
Embargoed:


Attachments (Terms of Use)
patch to add Modified CC bugs to frontpage.cgi (606 bytes, patch)
2009-05-06 14:20 UTC, Noura El hawary
dkl: review-
Details | Diff
v2 of adding modified to list of CC'd bugs im myfrontpage (1.11 KB, patch)
2009-05-08 10:10 UTC, Noura El hawary
no flags Details | Diff

Description Allen Kistler 2009-05-06 04:51:10 UTC
Description of problem:
I am CCed on a bug in the MODIFIED state, but it doesn't show up on "My Front Page."

Version-Release number of selected component (if applicable):
3.2.3+ (according to the RH home page)

How reproducible:
Always (?)

Steps to Reproduce:
1. Add yourself to the CC list of a MODIFIED bug
2. Go to "My Front Page"
  
Actual results:
The bug isn't listed on "My Front Page"

Expected results:
It should be listed in "Open Issues: You Are CC'd On"

Additional info:
For me, the relevant bug is Bug 493753, but probably any MODIFIED bug could serve as a test.  It might be worth checking NEEDINFO, too, though I haven't checked that one myself.

Comment 1 Noura El hawary 2009-05-06 14:20:28 UTC
Created attachment 342661 [details]
patch to add Modified CC bugs to frontpage.cgi

Yes you are right, it was missing, thanks for pointing this out.

Attached is a patch that added MODIFIED CC bugs to my front page.

Cheers,
Noura

Comment 2 David Lawrence 2009-05-06 17:47:45 UTC
Comment on attachment 342661 [details]
patch to add Modified CC bugs to frontpage.cgi

>Index: frontpage.cgi
>===================================================================
>--- frontpage.cgi	(revision 1226)
>+++ frontpage.cgi	(working copy)
>@@ -382,6 +382,7 @@
>                                    "&bug_status=ON_QA&bug_status=FAILS_QA" .
>                                    "&bug_status=VERIFIED" .
>                                    "&bug_status=RELEASE_PENDING" .
>+                                   "&bug_status=MODIFIED" .
>                                    "&bug_status=POST&emailcc1=1&emailtype1=exact" .
>                                    "&email1=" . url_quote($user->login);
> }

You also need to add MODIFIED to the status list above this section for the query returned by Bugzilla::Search.

$params->param(-name => 'bug_status',
                   -value => ['NEW' ,'ASSIGNED', 'ON_DEV','ON_QA','VERIFIED','RELEASE_PENDING','MODIFIED','FAILS_QA','POST']);

Otherwise the results are diffferent on frontpage.cgi from what you get when you click on "show list".

Dave

Comment 3 Noura El hawary 2009-05-08 10:10:07 UTC
Created attachment 343065 [details]
v2 of adding modified to list of CC'd bugs im myfrontpage

Thanks for the review Dave, I fixed the patch and committed to cvs the attached one.

Noura


Note You need to log in before you can comment on or make changes to this bug.