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 1794310

Summary: Foreman task in error state shows <a href=link> for Troubleshooting documentation
Product: Red Hat Satellite Reporter: Vladimír Sedmík <vsedmik>
Component: Tasks PluginAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact: Peter Ondrejka <pondrejk>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.7.0CC: aruzicka, mhulan
Target Milestone: UnspecifiedKeywords: EasyFix, Triaged, UserExperience
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-06-04 13:16:21 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
UI screenshot none

Description Vladimír Sedmík 2020-01-23 09:21:03 UTC
Created attachment 1654787 [details]
UI screenshot

Description of problem:
When a foreman task ends up in an error state, it usually shows a troubleshooting information with a link to troubleshooting documentation for more details (introduced in 6.6). However, in 6.7 whole <a href> tag is shown. A regression.


Version-Release number of selected component (if applicable):
Satellite 6.7 snap 9
tfm-rubygem-foreman-tasks-0.17.5.1-1.el7sat.noarch


How reproducible:
always

Steps to Reproduce:
1. Create some failing task, for example:
sed -i 's/run/run; raise "Fake error"/g' /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.14.0.7/app/lib/actions/pulp/content_view_puppet_environment/index_content.rb
2. foreman-maintain service restart
3. In WebUI Content > Content views > Create New > Publish new version
4. Monitor > Task > click the failed task

Actual results:
<a> tag is shown

Expected results:
a link should be shown instead

Additional info:
Seen on Firefox 70.0.1 (64-bit), Chrome 78.0.3904.108 (Official Build) (64-bit)

Comment 3 Adam Ruzicka 2020-06-04 13:16:21 UTC
This looks like a duplicate of 1795809, which will land in 6.8, closing.

*** This bug has been marked as a duplicate of bug 1795809 ***