Bug 1626178
Summary: | Validation failed: Cannot set auto publish to a non-composite content view | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Anand Agrawal <aagrawal> |
Component: | Content Views | Assignee: | Andrew Kofink <akofink> |
Status: | CLOSED ERRATA | QA Contact: | Jameer Pathan <jpathan> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.4 | CC: | jpathan, pcreech |
Target Milestone: | 6.5.0 | Keywords: | Triaged, UserExperience |
Target Release: | Unused | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-05-14 12:37:59 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Anand Agrawal
2018-09-06 17:11:48 UTC
Created redmine issue https://projects.theforeman.org/issues/24937 from this bug Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/24937 has been resolved. verified: @Satellite 6.5.0 snap 1 steps: 1. Create a new content view, enter details like name, description 2. Check the composite view checkbox and auto publish checkbox 3. Uncheck the composite view checkbox 4. This will automatically uncheck the auto-publish checkbox 5. Click on 'Save' observation: -auto publish should be set to false-production.log gives ~~~ Katello::Api::V2::ContentViewsController#create as JSON 2018-11-01T09:00:17 [I|app|4d702] Parameters: {"organization_id"=>"1", "auto_publish"=>false, "name"=>"jp5", "label"=>"jp5", "description"=>"jp5", "composite"=>false, "api_version"=>"v2", "content_view"=>{"name"=>"jp5", "label"=>"jp5", "description"=>"jp5", "organization_id"=>"1", "composite"=>false, "auto_publish"=>false}} 2018-11-01T09:00:17 [I|app|4d702] Current user set to admin (admin) 2018-11-01T09:00:17 [I|aud|4d702] Katello::ContentView (10) create event on name jp5 2018-11-01T09:00:17 [I|aud|4d702] Katello::ContentView (10) create event on label jp5 2018-11-01T09:00:17 [I|aud|4d702] Katello::ContentView (10) create event on description jp5 2018-11-01T09:00:17 [I|aud|4d702] Katello::ContentView (10) create event on organization_id 1 2018-11-01T09:00:17 [I|aud|4d702] Katello::ContentView (10) create event on default false 2018-11-01T09:00:17 [I|aud|4d702] Katello::ContentView (10) create event on composite false 2018-11-01T09:00:17 [I|aud|4d702] Katello::ContentView (10) create event on next_version 1 2018-11-01T09:00:17 [I|aud|4d702] Katello::ContentView (10) create event on force_puppet_environment false 2018-11-01T09:00:17 [I|aud|4d702] Katello::ContentView (10) create event on auto_publish false 2018-11-01T09:00:17 [I|aud|4d702] Katello::ContentView (10) create event on repository_ids [] 2018-11-01T09:00:17 [I|aud|4d702] Katello::ContentView (10) create event on environment_ids [] 2018-11-01T09:00:17 [I|app|4d702] Rendering /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.9.0.rc1/app/views/katello/api/v2/common/create.json.rabl within katello/api/v2/layouts/resource 2018-11-01T09:00:17 [I|app|4d702] Rendered /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.9.0.rc1/app/views/katello/api/v2/common/create.json.rabl within katello/api/v2/layouts/resource (15.1ms) 2018-11-01T09:00:17 [I|app|4d702] Completed 200 OK in 49ms (Views: 13.4ms | ActiveRecord: 10.8ms) ~~~ 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-2019:1222 |