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: VERIFIED
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-08-04 17:37 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:
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

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.


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