Bug 1360818
| Summary: | "Load error! (parseerror)" in Policy Profiles and Policies explorers | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Beni Paskin-Cherniavsky <cben> | ||||
| Component: | UI - OPS | Assignee: | Martin Hradil <mhradil> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Dmitry Misharov <dmisharo> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 5.6.0 | CC: | cpelland, dclarizi, dmisharo, hkataria, jhardy, mhradil, mpovolny, obarenbo, simaishi | ||||
| Target Milestone: | GA | Keywords: | TestOnly, ZStream | ||||
| Target Release: | 5.7.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | control:ui | ||||||
| Fixed In Version: | 5.7.0.0 | Doc Type: | If docs needed, set a value | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | |||||||
| : | 1360901 (view as bug list) | Environment: | |||||
| Last Closed: | 2017-01-11 20:11:45 UTC | Type: | Bug | ||||
| 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: | |||||||
| Bug Blocks: | 1360901 | ||||||
| Attachments: |
|
||||||
|
Description
Beni Paskin-Cherniavsky
2016-07-27 14:53:46 UTC
I meant https://github.com/ManageIQ/manageiq/issues/10080 (accidentally linked above to specific comment which is not relevant to this issue) 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. |