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 Plugin | Assignee: | satellite6-bugs <satellite6-bugs> | ||||
| Status: | CLOSED DUPLICATE | QA Contact: | Peter Ondrejka <pondrejk> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 6.7.0 | CC: | aruzicka, mhulan | ||||
| Target Milestone: | Unspecified | Keywords: | 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: |
|
||||||
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 *** |
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)