Bug 2174756

Summary: If I ask for my closed bugs it uses an old email address & gives nothing
Product: [Community] Bugzilla Reporter: John Dodson <jwadodson>
Component: User AccountsAssignee: The Bugzilla Team 🤖 <bugbot>
Status: CLOSED NOTABUG QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.0CC: astra, emmanuel, perl-devel
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-03-06 00:48:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description John Dodson 2023-03-02 11:43:29 UTC
Description of problem:
If I ask for my closed bugs it uses an old email address & gives nothing

Version-Release number of selected component (if applicable):

bugzilla.noarch                       5.0.6-15.fc37
How reproducible:

On the website https://bugzilla.redhat.com
Steps to Reproduce:
1. log in a me!
2. search for my closed bugs
3. it shows an old email address i used to use but no entries

Actual results:

no bugs
Expected results:
some bugs

Additional info:

Comment 1 Jeff Fearn 🐞 2023-03-02 21:50:43 UTC
You need to provide details for steps 2 and steps 3.

Comment 2 John Dodson 2023-03-03 02:36:02 UTC
At the bottom of a page showing "My Bugs" I press the link "MyClosed".
(Or the same link in MyLinks/SavedSearches)

I was actually looking for a request I'd made in 2020, BugId 1851620
hoping to find it that way.

Although my "newer" & now more permanant email address is jwadodson
(& that's what I'm logged in as) it shows this,

     Status: CLOSED Assignee: johnd.edu.au Reporter: johnd.edu.au CC: johnd.edu.au QA Contact: johnd.edu.au Docs Contact: johnd.edu.au Commenter: johnd.edu.au

which is an old address.
& nothing "closed".

I now realise this is a saved search so...
If I try to edit it I would expect to be able to change the "email address" but it seems somehow
embedded & unchangeable.
I don't recall the "bugzilla activity" at the time the email address had to be changed (2018? perhaps)
but the email address/domain became "vulnerable" due to changes within USyd at the time.

As I recall it did work after the email address change.

I guess I could delete it & redo it - but will it find any old (johnd@physiol) stuff?

I'm thinking this might be indicative of a more subtle group of problems in the database that
underlies bugzilla.

Comment 3 Jeff Fearn 🐞 2023-03-03 02:57:10 UTC
If you edit the search and pop-down the 'Search By People' section you should see the old email address is hard coded.

All the relationships are based in the user id not login name, so nothing old will be found. It doesn't work ATM as there is no way for it to map the old address to a user.

If you change the email there to your new email then everything should be found.

If you change the address to %user% everything should be found (if you are logged in); if you change your mail in the future it should continue working [1].

1: https://bugzilla.redhat.com/docs/en/html/using/finding.html#pronoun-substitution

Comment 4 John Dodson 2023-03-04 02:51:16 UTC
Ah! Thanks!
Sorry to be such a dummy!
I really should have RTFM.

At least I might now "remember" where to find your advice for the future.

Thanks again...

John