Bug 2142477

Summary: API: bugs results no longer seems to contain the see_also field by default?
Product: [Community] Bugzilla Reporter: Jens Petersen <petersen>
Component: Query/Bug ListAssignee: The Bugzilla Team 🤖 <bugbot>
Status: CLOSED NOTABUG QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.0CC: maxwell
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: 2022-11-16 04:15:03 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 Jens Petersen 2022-11-14 07:00:59 UTC
Description of problem:
It was noticed (in https://github.com/juhp/hsbugzilla/issues/18)
that API search results listing bugs no longer seem to include the see_also key.

(I don't particularly need this field by default, but just checking
that this change is intentional before updating my bugzilla binding
(which may be parsing bugs results too strictly perhaps).)

I am not exactly sure when this changed - it might be somewhat recent.

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

How reproducible:
100%

Actual results:
BugzillaJSONParseError "Error in $.bugs[0]: key \"see_also\" not found"

Additional info:
Thanks for all the great work maintaining our bugzilla service.

Comment 1 Maxwell G 2022-11-14 15:41:41 UTC
The Bugzilla changes I referred to in the upstream ticket happened around 2022-10-05, according to my IRC logs:

2022-10-05.log (times in UTC):

```
[10:04:05] <decathorpe> am I going mad or can bugzilla search results no longer be sorted by last-modified date? that column is missing and I can't add it back ...
[10:45:43] <ppisar> decathorpe: I can confirm it. I had to redit the columns with "Change Columns" button at the bottom of the page. First it showed Changed item, but after saving it disappeared from the setting. Then I added it back and after saving the setting it lasts. Probably a Bugzilla-internal identifier for the column has changed,
[11:09:04] <decathorpe> ppisar: that worked. thanks!
```

I don't remember exactly when I first noticed this issue with fbrnch/the haskell bugzilla bindings, but it was sometime in the last month.

Comment 2 Jens Petersen 2022-11-15 05:21:32 UTC
(In reply to Maxwell G from comment #1)
> [10:04:05] <decathorpe> am I going mad or can bugzilla search results no
> longer be sorted by last-modified date? that column is missing and I can't
> add it back ...
> [10:45:43] <ppisar> decathorpe: I can confirm it. I had to redit the columns
> with "Change Columns" button at the bottom of the page. First it showed
> Changed item, but after saving it disappeared from the setting. Then I added
> it back and after saving the setting it lasts. Probably a Bugzilla-internal
> identifier for the column has changed,

Ah I noticed this too recently - it might be good to file a separate report about that though.

Comment 3 Jeff Fearn 🐞 2022-11-15 23:50:19 UTC
Hi, the see_also field has been disabled in Red Hat Bugzilla for an extended period, it is expected that this field is not exposed to users in any way. When we find it is still available we close the gap.

Comment 4 Jens Petersen 2022-11-16 04:15:03 UTC
Thanks, Jeff!

I will go ahead and drop 'see_also' from my bz binding then 👍