Bug 1476949

Summary: Error occurs when trying to edit a catalog item
Product: Red Hat CloudForms Management Engine Reporter: Ryan Spagnola <rspagnol>
Component: UI - OPSAssignee: Harpreet Kataria <hkataria>
Status: CLOSED CURRENTRELEASE QA Contact: Shveta <sshveta>
Severity: medium Docs Contact:
Priority: high    
Version: 5.8.0CC: cpelland, hkataria, jhardy, mpovolny, obarenbo, rspagnol
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.10.0   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: 5.10.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1560096 1560097 (view as bug list) Environment:
Last Closed: 2019-02-11 13:53:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Bug
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1560096, 1560097    

Comment 12 CFME Bot 2018-03-20 22:32:38 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:

https://github.com/ManageIQ/manageiq-ui-classic/commit/6a24e66300862dcc4c019179bc1ddd7a48dc5ef9
commit 6a24e66300862dcc4c019179bc1ddd7a48dc5ef9
Author:     Harpreet Kataria <hkataria>
AuthorDate: Tue Mar 20 15:19:06 2018 -0400
Commit:     Harpreet Kataria <hkataria>
CommitDate: Tue Mar 20 15:19:06 2018 -0400

    Show message when trying to edit item with missing Provisioning request

    Added check around code to prevent error when editing catalog item with missing Provisioning request, with this change, flash message will be displayed on the screen informing user that they can not proceed with editing selected catalog item because request is missing

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1476949

 app/controllers/catalog_controller.rb | 19 +-
 app/views/catalog/_sandt_tree_show.html.haml | 2 +-
 spec/controllers/catalog_controller_spec.rb | 24 +
 3 files changed, 41 insertions(+), 4 deletions(-)

Comment 15 CFME Bot 2018-04-16 13:57:02 UTC
New commit detected on ManageIQ/manageiq-ui-classic/fine:

https://github.com/ManageIQ/manageiq-ui-classic/commit/e70780b1b86c76d560b0904cb99bf75381b33038
commit e70780b1b86c76d560b0904cb99bf75381b33038
Author:     Harpreet Kataria <hkataria>
AuthorDate: Tue Mar 20 15:19:06 2018 -0400
Commit:     Harpreet Kataria <hkataria>
CommitDate: Tue Mar 20 15:19:06 2018 -0400

    Show message when trying to edit item with missing Provisioning request

    Added check around code to prevent error when editing catalog item with missing Provisioning request, with this change, flash message will be displayed on the screen informing user that they can not proceed with editing selected catalog item because request is missing

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1476949
    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1560097

    (cherry picked from commit 6a24e66)

 app/controllers/catalog_controller.rb | 19 +-
 app/views/catalog/_sandt_tree_show.html.haml | 2 +-
 spec/controllers/catalog_controller_spec.rb | 24 +
 3 files changed, 41 insertions(+), 4 deletions(-)

Comment 16 Shveta 2018-07-09 19:27:24 UTC
Fixed in 5.10.0.2.20180626170006_40dc459