Bug 1489564
Summary: | Cannot search Software Channel Entitlements according to the label (what is an output of rhn-satellite-activate) | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite 5 | Reporter: | Candace Sheremeta <cshereme> | ||||||
Component: | WebUI | Assignee: | Grant Gainey <ggainey> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Radovan Drazny <rdrazny> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 580 | CC: | rdrazny, tkasparek, tlestach, xdmoon | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | spacewalk-java-2.5.14-105-sat | Doc Type: | If docs needed, set a value | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2017-12-13 07:59:26 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: | |||||||||
Bug Depends On: | |||||||||
Bug Blocks: | 1450111 | ||||||||
Attachments: |
|
Description
Candace Sheremeta
2017-09-07 18:02:49 UTC
/rhn/channels/software/Entitlements.do page contains list of channel available families according to the Sat5 certificate. They're searchable. By clicking any of the channel families, list of associated channels is displayed. The only deficiency I see is channel families are displayed and searchable according to its full name, not label as rhn-satellite-activate returns channel family labels. Do I miss anything? Hey Tomas, That's correct. We'd like a way to either be able to search by the labels that rhn-satellite-activate returns, or we'd like the output of rhn-satellite-activate to return the full names of the channels. Thank you :) Created attachment 1328080 [details]
SAT-5.8 patch to entitlements.jsp
Patch to add the label as a column, and make it the filterable entity
Created attachment 1350433 [details]
Failed entitlements page search
Tested on spacewalk-java-2.5.14-103.el6sat. Searching by entitlement name works, searching by channel label doesn't. See the attached picture. Upper part is a search for an entitlement by a name - this works the way it always did. Lower part is a search for an entitlement by a channel label. No entitlement is found. Neither search for complete string nor search for substring (as in the picture) does work.
FailedQA
(In reply to Radovan Drazny from comment #7) > Created attachment 1350433 [details] > Failed entitlements page search > > Tested on spacewalk-java-2.5.14-103.el6sat. Searching by entitlement name > works, searching by channel label doesn't. See the attached picture. Upper > part is a search for an entitlement by a name - this works the way it always > did. Lower part is a search for an entitlement by a channel label. No > entitlement is found. Neither search for complete string nor search for > substring (as in the picture) does work. > > FailedQA The page in your screenshot is /rhn/admin/multiorg/SoftwareEntitlements.do The page being described in, and fixed by, this BZ ( #c1 ) is /rhn/channels/software/Entitlements.do While I can def. see making the Admin page match is a good idea, it's not (as far as I can see, anyway) what was being asked for. Will add changes to the admin-page as well, but I don't think this is actually 'fails qa' so much as 'requirements fail' :) (In reply to Grant Gainey from comment #8) > (In reply to Radovan Drazny from comment #7) > > Created attachment 1350433 [details] > > Failed entitlements page search > > > > Tested on spacewalk-java-2.5.14-103.el6sat. Searching by entitlement name > > works, searching by channel label doesn't. See the attached picture. Upper > > part is a search for an entitlement by a name - this works the way it always > > did. Lower part is a search for an entitlement by a channel label. No > > entitlement is found. Neither search for complete string nor search for > > substring (as in the picture) does work. > > > > FailedQA > > The page in your screenshot is /rhn/admin/multiorg/SoftwareEntitlements.do > > The page being described in, and fixed by, this BZ ( #c1 ) is > /rhn/channels/software/Entitlements.do > > While I can def. see making the Admin page match is a good idea, it's not > (as far as I can see, anyway) what was being asked for. > > Will add changes to the admin-page as well, but I don't think this is > actually 'fails qa' so much as 'requirements fail' :) Yes, sorry about that. I looked at the other entitlements page automatically. Good thing is that the other page needed the same fix as the entitlement page that was fixed originally :-) Anyway, I have tested both pages now, and I was able to search by entitlement label on both of them. Channel labels is now displayed on both pages. It is now possible to search ONLY by labels, not by names, which is actually a good thing in my opinion. VERIFIED Forgot the version - verified on spacewalk-java-2.5.14-105.el6sat. 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/RHBA-2017:3445 |