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 1648903

Summary: Product sync: wrong link to task
Product: Red Hat Satellite Reporter: Lukáš Hellebrandt <lhellebr>
Component: Content ManagementAssignee: Samir Jha <sajha>
Status: CLOSED ERRATA QA Contact: Lukáš Hellebrandt <lhellebr>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.5.0CC: lhellebr, zhunting
Target Milestone: 6.5.0Keywords: Regression, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tfm-rubygem-katello-3.10.0.6-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-05-14 12:38:41 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 Lukáš Hellebrandt 2018-11-12 12:35:19 UTC
Description of problem:
When syncing product content from a Products page, a notification appears saying the sync has started and containing a verbatim HTML of the link to task.

Version-Release number of selected component (if applicable):
Reproduced with 6.5

How reproducible:
Deterministic

Steps to Reproduce:
1. Have some product (happens both to custom products and to RH repos)
2. In the WebUI: Content -> Products -> <select the product> -> Select Action -> Sync Selected

Actual results:
A green notification appears saying: "Product sync has been initiated in the background. Click <a href=foreman_tasks/tasks/...>here</a> to monitor the progress."

Expected results:
The link tag should be interpreted as a link, not shown verbatim.

Additional info:
No traceback

Comment 1 Brad Buckingham 2018-11-13 18:36:15 UTC
Is this a regression from 6.3?

Comment 2 Lukáš Hellebrandt 2018-11-14 10:58:31 UTC
Yes

Comment 6 Samir Jha 2018-12-21 18:29:17 UTC
Created redmine issue http://projects.theforeman.org/issues/25751 from this bug

Comment 8 Lukáš Hellebrandt 2019-01-14 15:32:59 UTC
Verified with Sat 6.5 snap 11.


Used reproducer from OP with RH repo. The message is now the following:

"Product sync has been initiated in the background.
Click to monitor task progress."

...with the second sentence clickable, leading to the task.

Comment 10 errata-xmlrpc 2019-05-14 12:38:41 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-2019:1222