Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1528168

Summary: 'Errata ID' hyperlink on Lifecycle Environments -> Errata page is broken
Product: Red Hat Satellite Reporter: Nikhil Kathole <nkathole>
Component: Lifecycle EnvironmentsAssignee: Justin Sherrill <jsherril>
Status: CLOSED ERRATA QA Contact: Nikhil Kathole <nkathole>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.3.0CC: bbuckingham, ehelms, nkathole
Target Milestone: UnspecifiedKeywords: Regression, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tfm-rubygem-katello-3.4.5.52-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-02-21 16:54:37 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:
Attachments:
Description Flags
screenshot of UI
none
working
none
screenrecord none

Description Nikhil Kathole 2017-12-21 07:39:12 UTC
Created attachment 1370753 [details]
screenshot of UI

Description of problem: Clicking 'Errata ID' hyperlink on Lifecycle Environments -> Errata page gives error the field (errataid) in the order statement is not valid field for search.

Version-Release number of selected component (if applicable): Satellite 6.3 snap 29

 
How reproducible: always


Steps to Reproduce:
1. Navigate to Content -> Lifecycle Environments 
2. Select environment
3. Click on Errata tab
4. Click on 'Errata ID'

Actual results:
Error as  the field (errataid) in the order statement is not valid field for search. (see attachment)

Expected results:
Hyperlink should remove or work.

Additional info:

Comment 1 Brad Buckingham 2018-01-05 16:35:46 UTC
Is this a regression from 6.2?

Comment 2 Nikhil Kathole 2018-01-11 13:55:24 UTC
Tried on Sat 6.2.14, found 'Errata ID' not clickable. So yes it is regression.

Comment 6 Brad Buckingham 2018-01-11 18:54:30 UTC
Hi Nikhil,

Are you able to reproduce this on the latest 6.3 builds?

I was not able to reproduce it upstream.
I also spun up the latest 6.3 builds [1] and was unable to reproduce with the procedure above.  For me, clicking on an erratum id takes me to the details page on that erratum.


[1] satellite-6.3.0-23.0.el7sat.noarch , tfm-rubygem-katello-3.4.5.45-1.el7sat.noarch , tfm-rubygem-bastion-5.1.1.2-1.fm1_15.el7sat.noarch

Comment 7 jcallaha 2018-01-11 19:14:56 UTC
Created attachment 1380209 [details]
working

I am also unable to reproduce this. Everything looks fine on my latest 6.3 build.

Comment 8 Nikhil Kathole 2018-01-12 08:18:55 UTC
Created attachment 1380327 [details]
screenrecord

Hi,

I am able to reproduce this. Step 4 in description is click on "Errata ID" (here Errata ID is the name of column. (see attachment to make it more clear).

Comment 10 Justin Sherrill 2018-01-12 19:25:16 UTC
Created redmine issue http://projects.theforeman.org/issues/22263 from this bug

Comment 11 Satellite Program 2018-01-12 21:27:40 UTC
Upstream bug assigned to jsherril

Comment 12 Satellite Program 2018-01-12 21:27:44 UTC
Upstream bug assigned to jsherril

Comment 13 Satellite Program 2018-01-15 15:29:13 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/22263 has been resolved.

Comment 15 Nikhil Kathole 2018-01-22 11:38:02 UTC
VERIFIED

Version tested:
Satellite 6.3 snap 33

Steps :
1. Clicked on Errata ID column name under life cycle environments -> Errata tab

Found Errata ID column supports alternate sorting.

2018-01-22 06:34:54 ef8b329d [app] [I] Started GET "/katello/api/v2/errata?environment_id=2&library=true&page=1&paged=true&per_page=20&search=&sort_by=errata_id&sort_order=ASC" for IP at 2018-01-22 06:34:54 -0500
2018-01-22 06:34:54 ef8b329d [app] [I] Processing by Katello::Api::V2::ErrataController#index as JSON
2018-01-22 06:34:54 ef8b329d [app] [I]   Parameters: {"environment_id"=>"2", "library"=>"true", "page"=>"1", "paged"=>"true", "per_page"=>"20", "search"=>"", "sort_by"=>"errata_id", "sort_order"=>"ASC", "api_version"=>"v2"}
2018-01-22 06:34:54 ef8b329d [app] [I] Current user: admin (administrator)
2018-01-22 06:34:54 ef8b329d [app] [I] Expire fragment views/tabs_and_title_records-3 (0.2ms)
2018-01-22 06:34:55 ef8b329d [app] [I]   Rendered /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.4.5.54/app/views/katello/api/v2/errata/index.json.rabl within katello/api/v2/layouts/collection (452.3ms)
2018-01-22 06:34:55 ef8b329d [app] [I] Completed 200 OK in 530ms (Views: 416.0ms | ActiveRecord: 92.5ms)
2018-01-22 06:34:55 188f2fd9 [app] [I] Started GET "/notification_recipients" for IP at 2018-01-22 06:34:55 -0500
2018-01-22 06:34:55 188f2fd9 [app] [I] Processing by NotificationRecipientsController#index as JSON
2018-01-22 06:34:55 188f2fd9 [app] [I] Current user: admin (administrator)
2018-01-22 06:34:55 188f2fd9 [app] [I] Expire fragment views/tabs_and_title_records-3 (0.1ms)
2018-01-22 06:34:55 188f2fd9 [app] [I] Completed 200 OK in 9ms (Views: 0.1ms | ActiveRecord: 0.7ms)
2018-01-22 06:34:57 f4e6786a [app] [I] Started GET "/katello/api/v2/errata?environment_id=2&library=true&page=1&paged=true&per_page=20&search=&sort_by=errata_id&sort_order=DESC" for IP at 2018-01-22 06:34:57 -0500
2018-01-22 06:34:57 f4e6786a [app] [I] Processing by Katello::Api::V2::ErrataController#index as JSON
2018-01-22 06:34:57 f4e6786a [app] [I]   Parameters: {"environment_id"=>"2", "library"=>"true", "page"=>"1", "paged"=>"true", "per_page"=>"20", "search"=>"", "sort_by"=>"errata_id", "sort_order"=>"DESC", "api_version"=>"v2"}
2018-01-22 06:34:57 f4e6786a [app] [I] Current user: admin (administrator)
2018-01-22 06:34:57 f4e6786a [app] [I] Expire fragment views/tabs_and_title_records-3 (0.1ms)
2018-01-22 06:34:57 f4e6786a [app] [I]   Rendered /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.4.5.54/app/views/katello/api/v2/errata/index.json.rabl within katello/api/v2/layouts/collection (298.2ms)
2018-01-22 06:34:57 f4e6786a [app] [I] Completed 200 OK in 335ms (Views: 233.9ms | ActiveRecord: 83.4ms)

Comment 16 Satellite Program 2018-02-21 16:54:37 UTC
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA.
> > 
> > For information on the advisory, and where to find the updated files, follow the link below.
> > 
> > If the solution does not work for you, open a new bug report.
> > 
> > https://access.redhat.com/errata/RHSA-2018:0336