Bug 570925 - Date in Daily Status Report subject is incorrectly formatted
Summary: Date in Daily Status Report subject is incorrectly formatted
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Server
Version: 530
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Šimon Lukašík
QA Contact: Matej Kollar
URL:
Whiteboard:
Depends On:
Blocks: sat54-blockers
TreeView+ depends on / blocked
 
Reported: 2010-03-05 21:05 UTC by Brandon Davidson
Modified: 2018-11-26 19:38 UTC (History)
5 users (show)

Fixed In Version: spacewalk-java-1.2.39-110
Doc Type: Bug Fix
Doc Text:
Consequence: Daily Status Report mail contained both date and time of report in a subject line. Result: Daily Status Report mail contains only date of report.
Clone Of:
Environment:
Last Closed: 2012-01-31 01:55:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2012:0072 0 normal SHIPPED_LIVE Red Hat Network Satellite server spacewalk-java bug fix update 2012-01-31 06:55:07 UTC

Description Brandon Davidson 2010-03-05 21:05:27 UTC
Description of problem:
Full date (including hh:mm:ss and timezone) is included in Daily Status Report subject line.

Per com/redhat/rhn/frontend/strings/template/StringResource_en_US.xml, argument 0 to dailysummary.email.subject should be "current time in short format". Unfortunately, queueOrgEmails in com/redhat/rhn/taskomatic/task/DailySummary.java calls ls.formatDate instead of ls.formatShortDate.

Version-Release number of selected component (if applicable):
spacewalk-java-0.5.44-66.el5sat

How reproducible:
Trivially.

Steps to Reproduce:
1. Enable daily status reports.
2. Perform an action that triggers a status report.
3. View subject line in e-mail client  

Actual results:
Subject is "UO RHN Satellite Daily Status Report for 3/5/10 5:00:01 AM PST"

Expected results:
Subject is "UO RHN Satellite Daily Status Report for 2010-03-05"

Additional info:
May be fixed upstream. Not sure, but it seems likely. The same long date format is also used in the report body, but that may be acceptable.

Comment 3 Šimon Lukašík 2011-08-16 08:23:36 UTC
spacewalk.git 19b29f1e22c892d87b553d3ed2c0eef98ccf52ab

Comment 6 Šimon Lukašík 2012-01-09 15:21:17 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Consequence:
Daily Status Report mail contained both date and time of report in a subject line.

Result:
Daily Status Report mail contains only date of report.

Comment 8 errata-xmlrpc 2012-01-31 01:55:53 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.

http://rhn.redhat.com/errata/RHBA-2012-0072.html


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