Bug 2142477 - API: bugs results no longer seems to contain the see_also field by default?
Summary: API: bugs results no longer seems to contain the see_also field by default?
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Bugzilla
Classification: Community
Component: Query/Bug List
Version: 5.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Bug Bot 🤖
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-11-14 07:00 UTC by Jens Petersen
Modified: 2022-11-16 04:15 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-11-16 04:15:03 UTC
Embargoed:


Attachments (Terms of Use)

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 👍


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