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 2223996 - e-mail notification for long running tasks contains untranslated localization strings
Summary: e-mail notification for long running tasks contains untranslated localization...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Tasks Plugin
Version: 6.14.0
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: 6.14.0
Assignee: Adam Ruzicka
QA Contact: Pavel Novotny
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-07-19 13:52 UTC by Pavel Novotny
Modified: 2023-11-08 14:20 UTC (History)
4 users (show)

Fixed In Version: rubygem-foreman-tasks-8.1.2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-11-08 14:19:57 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
e-mail notification for long running tasks (60.47 KB, image/png)
2023-07-19 13:52 UTC, Pavel Novotny
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 36606 0 Normal Ready For Testing e-mail notification for long running tasks contains untranslated localization strings 2023-07-20 14:36:45 UTC
Red Hat Issue Tracker SAT-19053 0 None None None 2023-07-20 08:49:54 UTC
Red Hat Product Errata RHSA-2023:6818 0 None None None 2023-11-08 14:20:05 UTC

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


Note You need to log in before you can comment on or make changes to this bug.