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 1164671 - sync_interval sets as blank by default when creating a sync_plan and doesn't allow to create it
Summary: sync_interval sets as blank by default when creating a sync_plan and doesn't ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: WebUI
Version: Unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: Unspecified
Assignee: Walden Raines
QA Contact: Kedar Bidarkar
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-11-17 06:02 UTC by Sachin Ghai
Modified: 2017-02-23 20:48 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-12 05:19:10 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
please note that "blank line" in interval drop-down selection (80.74 KB, image/png)
2014-11-17 06:02 UTC, Sachin Ghai
no flags Details
on creating sync_plan with default interval selection, throws "interval: ["is not included in the list"]" (40.52 KB, image/png)
2014-11-17 06:04 UTC, Sachin Ghai
no flags Details
syncplan no longer has blank option and takes hourly as deafult (67.02 KB, image/png)
2015-02-12 08:46 UTC, Kedar Bidarkar
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:1592 0 normal SHIPPED_LIVE Important: Red Hat Satellite 6.1.1 on RHEL 6 2015-08-12 09:04:35 UTC

Description Sachin Ghai 2014-11-17 06:02:54 UTC
Created attachment 958163 [details]
please note that "blank line" in interval drop-down selection

Description of problem:
when creating a sync_plan the interval drop down contains a blank line. And this is the default selection. Earlier I think 'none' was set as default option.

Since interval field is not mandatory, So when I create a sync_plan without specifying any sync interval, UI throws error below interval field:

"is not included in the list"

production.log:

----
Processing by Katello::Api::V2::SyncPlansController#create as JSON
  Parameters: {"startDate"=>"2014-11-17T05:51:14.336Z", "interval"=>{"id"=>"none", "value"=>"[FILTERED]"}, "name"=>"myplan", "sync_date"=>"Mon Nov 17 2014 11:21:00 GMT+0530 (IST)", "api_version"=>"v2", "organization_id"=>"1", "sync_plan"=>{"name"=>"myplan", "sync_date"=>"Mon Nov 17 2014 11:21:00 GMT+0530 (IST)", "interval"=>{"id"=>"none", "value"=>"[FILTERED]"}}}
ActiveRecord::RecordInvalid
interval: ["is not included in the list"]
Completed 422 Unprocessable Entity in 28ms (Views: 0.4ms | ActiveRecord: 1.4ms)
----

Version-Release number of selected component (if applicable):
zstream 6.0.6

* apr-util-ldap-1.3.9-3.el6_0.1.x86_64
* candlepin-0.9.23.1-1.el6.noarch
* candlepin-common-1.0.1-1.el6_5.noarch
* candlepin-scl-1-5.el6_4.noarch
* candlepin-scl-quartz-2.1.5-5.el6_4.noarch
* candlepin-scl-rhino-1.7R3-1.el6_4.noarch
* candlepin-scl-runtime-1-5.el6_4.noarch
* candlepin-selinux-0.9.23.1-1.el6.noarch
* candlepin-tomcat6-0.9.23.1-1.el6.noarch
* elasticsearch-0.90.10-6.el6sat.noarch
* foreman-1.6.0.49-1.el6sat.noarch
* foreman-compute-1.6.0.49-1.el6sat.noarch
* foreman-gce-1.6.0.49-1.el6sat.noarch
* foreman-libvirt-1.6.0.49-1.el6sat.noarch
* foreman-ovirt-1.6.0.49-1.el6sat.noarch
* foreman-postgresql-1.6.0.49-1.el6sat.noarch
* foreman-proxy-1.6.0.30-1.el6sat.noarch
* foreman-selinux-1.6.0.15-1.el6sat.noarch
* foreman-vmware-1.6.0.49-1.el6sat.noarch
* katello-1.5.0-30.el6sat.noarch
* katello-certs-tools-1.5.6-1.el6sat.noarch
* katello-default-ca-1.0-1.noarch
* katello-installer-0.0.64-1.el6sat.noarch
* katello-server-ca-1.0-1.noarch
* openldap-2.4.39-8.el6.x86_64
* pulp-katello-0.3-4.el6sat.noarch
* pulp-nodes-common-2.4.3-0.1.beta.el6sat.noarch
* pulp-nodes-parent-2.4.3-0.1.beta.el6sat.noarch
* pulp-puppet-plugins-2.4.3-1.el6sat.noarch
* pulp-puppet-tools-2.4.3-1.el6sat.noarch
* pulp-rpm-plugins-2.4.3-1.el6sat.noarch
* pulp-selinux-2.4.3-1.el6sat.noarch
* pulp-server-2.4.3-1.el6sat.noarch
* python-ldap-2.3.10-1.el6.x86_64
* ruby193-rubygem-net-ldap-0.3.1-3.el6sat.noarch
* ruby193-rubygem-runcible-1.1.0-2.el6sat.noarch
* rubygem-hammer_cli-0.1.1-12.el6sat.noarch
* rubygem-hammer_cli_foreman-0.1.1-16.el6sat.noarch
* rubygem-hammer_cli_foreman_tasks-0.0.3-3.el6sat.noarch
* rubygem-hammer_cli_import-0.10.4-1.3.el6sat.noarch
* rubygem-hammer_cli_katello-0.0.4-14.el6sat.noarch


How reproducible:
always

Steps to Reproduce:
1. Go to Content-Sync Plan
2. create New
3. Enter plan name only and click on save

Actual results:
The default selection is blank line

Expected results:
sync interval should include none as default option instead of blank line. Since this is not a mandatory field so without selecting any option, UI should create sync_plan successfully

Additional info:

Comment 1 RHEL Program Management 2014-11-17 06:03:26 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 2 Sachin Ghai 2014-11-17 06:04:38 UTC
Created attachment 958164 [details]
on creating sync_plan with default interval selection, throws "interval: ["is not included in the list"]"

Comment 5 Walden Raines 2015-01-13 13:38:49 UTC
This is fixed in master, I believe via https://github.com/Katello/katello/pull/4737.

Comment 8 Kedar Bidarkar 2015-02-12 08:46:46 UTC
Created attachment 990802 [details]
syncplan no longer has blank option and takes hourly as deafult

syncplan no longer has blank option and takes hourly as deafult

Comment 9 Bryan Kearney 2015-08-11 13:34:41 UTC
This bug is slated to be released with Satellite 6.1.

Comment 10 errata-xmlrpc 2015-08-12 05:19:10 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.

https://access.redhat.com/errata/RHSA-2015:1592


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