Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
This is just for tracking the changes required to bastion required for this fix.
+++ This bug was initially created as a clone of Bug #1335133 +++
Description of problem:
From first glance, transforming date and time for sync plans to Satellite server values can be treated as a feature, but is unacceptable from user perspective. That is fine to have some logic like this, but somewhere internally on the server, not for public view
API example:
Making HTTP POST request to https://server/katello/api/v2/organizations/1850/sync_plans with options {'verify': False, 'auth': ('admin', 'changeme'), 'headers': {'content-type': 'application/json'}} and data {"interval": "hourly", "enabled": false, "organization_id": 1850, "sync_date": "06/07/2372 04:18", "name": "name"}.
Received HTTP 200 response: {"id":132,"organization_id":1850,"name":"name","description":null,"interval":"hourly","next_sync":null,"created_at":"2016-05-11 10:48:20 UTC","updated_at":"2016-05-11 10:48:20 UTC","enabled":false,"products":[],"permissions":{"view_sync_plans":true,"edit_sync_plans":true,"destroy_sync_plans":true},"sync_date":"07/06/2372 12:18:AM"}
UI example:
Created with '2016-05-11' and '15:09'
and received:
'05/11/2016 08:09:AM'
If API part has not so serious impact, but UI behaviour should be definitely treated as severe issue as for user it is complete mess why his data is transformed in that way.
Version-Release number of selected component (if applicable):
6.2 SNAP 10
How reproducible:
Always
Steps to Reproduce:
1. Create new sync plan with specific start data and time
2. Read the entity back and check the values returned
3.
Actual results:
Data and time is transformed to system time taken from the server where application is deployed
Expected results:
Data and time should be shown in the same format and values as user inputted them
Additional info:
'Start Date' is transformed, but not the 'Next Sync' information that is add even more chaos in sync process
--- Additional comment from Oleksandr Shtaier on 2016-05-11 08:21:25 EDT ---
Blocker for bunch of test automation cases
--- Additional comment from RHEL Product and Program Management on 2016-05-11 08:34:58 EDT ---
Since this issue was entered in Red Hat Bugzilla, the pm_ack has been
set to + automatically for the next planned release
--- Additional comment from Oleksandr Shtaier on 2016-05-11 10:40:54 EDT ---
Regression was introduced pretty recently (I suspect in first GA) as automation started to fail just for last build for that area
--- Additional comment from Walden Raines on 2016-05-12 11:02:17 EDT ---
--- Additional comment from Walden Raines on 2016-05-12 11:02:26 EDT ---
--- Additional comment from Walden Raines on 2016-05-12 11:02:31 EDT ---