Bug 1481851

Summary: Internal Server Error when creating schedule for automate task
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: AutomateAssignee: Drew Bomhof <dbomhof>
Status: CLOSED ERRATA QA Contact: Tasos Papaioannou <tpapaioa>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.8.0CC: cpelland, gmccullo, jhardy, mkanoor, obarenbo, simaishi, tfitzger
Target Milestone: GAKeywords: ZStream
Target Release: 5.8.2   
Hardware: All   
OS: All   
Whiteboard: ui:schedule:automate
Fixed In Version: 5.8.2.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1479570 Environment:
Last Closed: 2017-10-24 00:39:41 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1479570    
Bug Blocks:    

Comment 2 CFME Bot 2017-08-15 21:23:56 UTC
New commit detected on ManageIQ/manageiq-ui-classic/fine:
https://github.com/ManageIQ/manageiq-ui-classic/commit/fd54f3abb303a4495f82f3808f2b25108c73ce03

commit fd54f3abb303a4495f82f3808f2b25108c73ce03
Author:     Milan Zázrivec <mzazrivec>
AuthorDate: Tue Aug 15 10:01:56 2017 +0200
Commit:     Satoe Imaishi <simaishi>
CommitDate: Tue Aug 15 17:20:32 2017 -0400

    Merge pull request #1906 from syncrou/skip_rbac_on_nil_or_null
    
    Skip calling Rbac on a null or nil target_class
    (cherry picked from commit fb1cba5c251a158fc1a4fc74c2fb3524ccf37570)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1481851

 .../ops_controller/settings/automate_schedules.rb      | 11 ++++++-----
 .../ops_controller/settings/automate_schedules_spec.rb | 18 ++++++++++++++++++
 2 files changed, 24 insertions(+), 5 deletions(-)

Comment 3 Tasos Papaioannou 2017-08-25 14:56:47 UTC
Verified on 5.8.2.0.

Comment 5 errata-xmlrpc 2017-10-24 00:39:41 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-2017:3005