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 2030273 - The tasks generated by task export in html format are not sorted by date
Summary: The tasks generated by task export in html format are not sorted by date
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Tasks Plugin
Version: 6.10.1
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: 6.11.0
Assignee: Peter Koprda
QA Contact: Peter Ondrejka
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-12-08 11:09 UTC by Jan Senkyrik
Modified: 2022-07-05 14:31 UTC (History)
3 users (show)

Fixed In Version: tfm-rubygem-foreman-tasks-5.2.2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-07-05 14:31:01 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
tasks not sorted by date (201.01 KB, image/png)
2021-12-08 11:12 UTC, Jan Senkyrik
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 34108 0 Normal New The tasks generated by task export in html format are not sorted by date 2021-12-08 11:56:20 UTC
Red Hat Product Errata RHSA-2022:5498 0 None None None 2022-07-05 14:31:13 UTC

Description Jan Senkyrik 2021-12-08 11:09:31 UTC
Description of problem:
The tasks generated by task export in html format are not sorted by date.

Version-Release number of selected component (if applicable):
Satellite 6.10.1

How reproducible:
Always

Steps to Reproduce:
1. Generate a task export:
# foreman-rake foreman_tasks:export_tasks TASK_SEARCH='' TASK_DAYS=7

2. Extract the archive and open index.html in a browser


Actual results:
Tasks are not sorted by date.

Expected results:
Tasks are sorted by date as it used to be done in the previous Satellite versions.

Comment 2 Jan Senkyrik 2021-12-08 11:12:06 UTC
Created attachment 1845230 [details]
tasks not sorted by date

Comment 3 Adam Ruzicka 2021-12-08 11:56:20 UTC
Created redmine issue https://projects.theforeman.org/issues/34108 from this bug

Comment 5 Adam Ruzicka 2022-03-03 08:54:03 UTC
Fix for this BZ was just merged in upstream. Do we want to pull it in for 7.0?

Comment 10 Peter Ondrejka 2022-04-07 09:07:40 UTC
Verified on Satellite 6.11 snap 15, tasks in the export output are ordered by time and date.

Comment 13 errata-xmlrpc 2022-07-05 14:31:01 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 (Moderate: Satellite 6.11 Release), 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-2022:5498


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