Bug 1360901

Summary: "Load error! (parseerror)" in Policy Profiles and Policies explorers
Product: Red Hat CloudForms Management Engine Reporter: John Prause <jprause>
Component: UI - OPSAssignee: Martin Hradil <mhradil>
Status: CLOSED ERRATA QA Contact: Niyaz Akhtar Ansari <nansari>
Severity: high Docs Contact:
Priority: high    
Version: 5.6.0CC: cpelland, dclarizi, hkataria, jhardy, mhradil, mpovolny, nansari, obarenbo, pzagalsk
Target Milestone: GAKeywords: ZStream
Target Release: 5.6.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.6.1.2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1360818 Environment:
Last Closed: 2016-08-18 18:00:15 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: 1360818    
Bug Blocks:    

Comment 3 CFME Bot 2016-07-28 14:50:49 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/4df3f0bbbbf5cdeadd471841c6c3f25870581cd6

commit 4df3f0bbbbf5cdeadd471841c6c3f25870581cd6
Author:     Martin Hradil <mhradil>
AuthorDate: Thu Jul 28 08:50:05 2016 +0000
Commit:     Martin Hradil <mhradil>
CommitDate: Thu Jul 28 08:50:05 2016 +0000

    Make TreeBuilderPolicy and TreeBuilderPolicyProfile not lazy
    
    trees using the `:parents` feature (to get all the parents, instead of just the immediate one) rely on not being called lazily for it to work
    
    this makes TreeBuilderPolicy and TreeBuilderPolicyProfile explicitly not lazy
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1360818
    https://bugzilla.redhat.com/show_bug.cgi?id=1360901

 app/presenters/tree_builder_policy.rb               | 3 ++-
 app/presenters/tree_builder_policy_profile.rb       | 3 ++-
 spec/presenters/tree_builder_policy_profile_spec.rb | 9 +++++++++
 spec/presenters/tree_builder_policy_spec.rb         | 9 +++++++++
 4 files changed, 22 insertions(+), 2 deletions(-)
 create mode 100644 spec/presenters/tree_builder_policy_profile_spec.rb
 create mode 100644 spec/presenters/tree_builder_policy_spec.rb

Comment 4 CFME Bot 2016-07-28 16:35:51 UTC
New commit detected on ManageIQ/manageiq/darga:
https://github.com/ManageIQ/manageiq/commit/112c55353861c527ea05ccc73f010ff0a1066199

commit 112c55353861c527ea05ccc73f010ff0a1066199
Author:     Martin Hradil <mhradil>
AuthorDate: Thu Jul 28 08:50:05 2016 +0000
Commit:     Martin Hradil <mhradil>
CommitDate: Thu Jul 28 12:49:28 2016 +0000

    Make TreeBuilderPolicy and TreeBuilderPolicyProfile not lazy
    
    trees using the `:parents` feature (to get all the parents, instead of just the immediate one) rely on not being called lazily for it to work
    
    this makes TreeBuilderPolicy and TreeBuilderPolicyProfile explicitly not lazy
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1360818
    https://bugzilla.redhat.com/show_bug.cgi?id=1360901

 app/presenters/tree_builder_policy.rb               | 3 ++-
 app/presenters/tree_builder_policy_profile.rb       | 3 ++-
 spec/presenters/tree_builder_policy_profile_spec.rb | 9 +++++++++
 spec/presenters/tree_builder_policy_spec.rb         | 9 +++++++++
 4 files changed, 22 insertions(+), 2 deletions(-)
 create mode 100644 spec/presenters/tree_builder_policy_profile_spec.rb
 create mode 100644 spec/presenters/tree_builder_policy_spec.rb

Comment 5 Beni Paskin-Cherniavsky 2016-08-01 19:15:25 UTC
*** Bug 1361889 has been marked as a duplicate of this bug. ***

Comment 7 Niyaz Akhtar Ansari 2016-08-12 13:33:54 UTC
Working fine for me.No error occurred.

Verified in Version 5.6.1.2.20160810181333_8ba817b

Comment 9 errata-xmlrpc 2016-08-18 18:00:15 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://rhn.redhat.com/errata/RHSA-2016-1634.html