Bug 2223996

Summary: e-mail notification for long running tasks contains untranslated localization strings
Product: Red Hat Satellite Reporter: Pavel Novotny <pnovotny>
Component: Tasks PluginAssignee: Adam Ruzicka <aruzicka>
Status: CLOSED ERRATA QA Contact: Pavel Novotny <pnovotny>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.14.0CC: aruzicka, bbuckingham, pcreech, rlavi
Target Milestone: 6.14.0Keywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rubygem-foreman-tasks-8.1.2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-11-08 14:19:57 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
e-mail notification for long running tasks none

Description Pavel Novotny 2023-07-19 13:52:29 UTC
Created attachment 1976537 [details]
e-mail notification for long running tasks

Description of problem:
Follow-up BZ for RFE bug 1950836.
Notification e-mail for long running tasks contains untranslated localization strings, like _("Action").


Version-Release number of selected component (if applicable):
foreman-3.7.0-2.el8sat.noarch
rubygem-foreman-tasks-8.1.1-1.el8sat.noarch
(6.14.0 snap 5)

How reproducible:
100%

Steps to Reproduce:
1. Have a task that is running or is paused for more than 2 days.
2. As an admin user, check the e-mail notification. The default subject is "[satellite] Tasks pending since ..."
3.

Actual results:
The HTML table header contains untranslated strings, like _("ID"), _("Action"), etc.
See the attached screenshot for more details.

Expected results:
The strings should be translated, at least they should not contain the _("") function part.

Additional info:

Comment 1 Adam Ruzicka 2023-07-20 08:51:03 UTC
Created redmine issue https://projects.theforeman.org/issues/36606 from this bug

Comment 2 Bryan Kearney 2023-07-20 16:03:34 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/36606 has been resolved.

Comment 4 Pavel Novotny 2023-08-04 17:37:55 UTC
Verified by automation in Satellite 6.14.0 snap#10:
satellite-6.14.0-3.el8sat.noarch
rubygem-foreman-tasks-8.1.2-1.el8sat.noarch

There are no untranslated strings in the notification e-mail now.

Comment 7 errata-xmlrpc 2023-11-08 14:19:57 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 (Important: Satellite 6.14 security and bug fix update), 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-2023:6818