Bug 1384759

Summary: Service : "Display in catalog" checkbox value not saved for bundle
Product: Red Hat CloudForms Management Engine Reporter: Shveta <sshveta>
Component: UI - OPSAssignee: Jozef Zigmund <jzigmund>
Status: CLOSED CURRENTRELEASE QA Contact: Shveta <sshveta>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.7.0CC: cpelland, hkataria, jhardy, jzigmund, mpovolny, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly
Target Release: 5.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: service
Fixed In Version: 5.8.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1391138 (view as bug list) Environment:
Last Closed: 2017-06-12 17:31:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1391138    

Description Shveta 2016-10-14 05:09:36 UTC
Description of problem:


Version-Release number of selected component (if applicable):5.7.0.4-alpha1.20161005153002_cfc8a23 


How reproducible:


Steps to Reproduce:
1. Create a new catalog bundle
2. Select "display in checkbox" . Save
3. Value is not saved and bundle shows "display in catalog " = false
4. 

Actual results:


Expected results:


Additional info:
Edit bundle and save the value again . Value gets saved.

Comment 3 CFME Bot 2016-10-25 18:26:01 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/45256b4273c91b96fab5d25e5bed23c7dc593576

commit 45256b4273c91b96fab5d25e5bed23c7dc593576
Author:     Jozef Zigmund <jzigmund>
AuthorDate: Mon Oct 17 18:21:27 2016 +0200
Commit:     Jozef Zigmund <jzigmund>
CommitDate: Tue Oct 25 18:23:53 2016 +0200

    Fix the number of arguments for 'default_entry_point'
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1384759

 app/controllers/catalog_controller.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comment 4 CFME Bot 2016-10-31 19:41:00 UTC
New commit detected on ManageIQ/manageiq/euwe:
https://github.com/ManageIQ/manageiq/commit/8e0da5a68dc3bd95f8e747492a4c136fb98428d7

commit 8e0da5a68dc3bd95f8e747492a4c136fb98428d7
Author:     Greg McCullough <gmccullo>
AuthorDate: Tue Oct 25 14:22:50 2016 -0400
Commit:     Oleg Barenboim <chessbyte>
CommitDate: Mon Oct 31 15:36:15 2016 -0400

    Merge pull request #11996 from jzigmund/bz1384759-fix_saving_display_in_catalog
    
    Fix the handling of 'Display in Catalog' checkbox
    (cherry picked from commit d6a4904d6c63394d1819d700332b8110ea5a1d26)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1384759

 app/controllers/catalog_controller.rb        |  3 ++-
 app/views/catalog/_form_basic_info.html.haml |  2 +-
 spec/controllers/catalog_controller_spec.rb  | 13 +++++++++++++
 3 files changed, 16 insertions(+), 2 deletions(-)

Comment 7 Jozef Zigmund 2016-11-01 14:45:01 UTC
The bugfix also contains a change to set default entry points for Catalog Bundle.

Comment 9 Shveta 2017-03-13 04:42:15 UTC
Fixed in 5.8.0.4.20170307183144_745a3d9