Created attachment 1184684 [details] screenshot of the problem. **Happens on current master AND DARGA. Requesting blocker Z-stream clone.** Description of problem: Control -> Explorer -> Policy Profiles accordion doesn't expand under an event, shows "Load error! (parseerror)" instead. Also sometimes(?) happens in Policies accordion. Version-Release number of selected component (if applicable): darga (810a94fe507f27c5f727fe4df03a0c651e1e5d9e commit), and master. https://github.com/ManageIQ/manageiq/pull/10026 is believed to be the culprit Steps to Reproduce: 1. Go to Control -> Explorer -> Policy Profiles accordion 2. Try to expand everything e.g. the builtin OpenSCAP profile Actual results: shows "Load error! (parseerror)" instead. (see screenshot) Expected results: Expands actions under events https://github.com/ManageIQ/manageiq/issues/10080#issuecomment-235561491 There is another issue there (will open separate BZ), together they break Control UI pretty badly.
I meant https://github.com/ManageIQ/manageiq/issues/10080 (accidentally linked above to specific comment which is not relevant to this issue)
https://github.com/ManageIQ/manageiq/pull/10110
https://github.com/ManageIQ/manageiq/pull/10116
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
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
Fixed and verified in 5.7.0.2.20160921112913_c5ff117. There is no more "parseerror" in OpenSCAP policies.