| Summary: | Catalog Item : editing catalog item randomly throws error " undefined method `[]' for nil:NilClass [catalog/atomic_form_field_changed] " | ||
|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | John Prause <jprause> |
| Component: | UI - OPS | Assignee: | Harpreet Kataria <hkataria> |
| Status: | CLOSED ERRATA | QA Contact: | Shveta <sshveta> |
| Severity: | medium | Docs Contact: | |
| Priority: | high | ||
| Version: | 5.5.0 | CC: | dajohnso, dclarizi, hkataria, jhardy, mfeifer, mpovolny, obarenbo, sshveta |
| Target Milestone: | GA | Keywords: | ZStream |
| Target Release: | 5.5.4 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | service:catalog | ||
| Fixed In Version: | 5.5.4.0 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 1321655 | Environment: | |
| Last Closed: | 2016-05-31 13:41:53 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: | |
| Bug Depends On: | 1321655 | ||
| Bug Blocks: | |||
|
Description
John Prause
2016-03-29 15:00:36 UTC
New commit detected on cfme/5.5.z: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=30c8b5cdfd503ea486aa53a6331de5ec2ad3003a commit 30c8b5cdfd503ea486aa53a6331de5ec2ad3003a Author: Martin Hradil <mhradil> AuthorDate: Mon Feb 8 09:14:20 2016 -0500 Commit: Harpreet Kataria <hkataria> CommitDate: Wed Mar 30 09:35:06 2016 -0400 ApiController - Disable get/set_global_session_data API requests should ideally not touch the session at all, but for now, at least don't break it. Without this, any API request clears `edit`, `view` and `layout` (possibly others) from session, because `set_global_session_data` expects `@edit` (etc) to be populated with the right new value, and `load_edit` is never called in the api (nor does it make sense to call it there). Fixes #6545 https://bugzilla.redhat.com/show_bug.cgi?id=1321655 https://bugzilla.redhat.com/show_bug.cgi?id=1322022 (cherry picked from commit 7f7864d) app/controllers/api_controller.rb | 3 +++ 1 file changed, 3 insertions(+) New commit detected on cfme/5.5.z: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=5a2eac8368e4a73ece4f27b0b7281afa8ec146a6 commit 5a2eac8368e4a73ece4f27b0b7281afa8ec146a6 Merge: ea5176f 30c8b5c Author: Dan Clarizio <dclarizi> AuthorDate: Thu Apr 14 16:51:59 2016 -0400 Commit: Dan Clarizio <dclarizi> CommitDate: Thu Apr 14 16:51:59 2016 -0400 Merge branch 'api_transaction_fix' into '5.5.z' ApiController - Disable get/set_global_session_data API requests should ideally not touch the session at all, but for now, at least don't break it. Without this, any API request clears `edit`, `view` and `layout` (possibly others) from session, because `set_global_session_data` expects `@edit` (etc) to be populated with the right new value, and `load_edit` is never called in the api (nor does it make sense to call it there). Fixes #6545 https://bugzilla.redhat.com/show_bug.cgi?id=1321655 https://bugzilla.redhat.com/show_bug.cgi?id=1322022 (cherry picked from commit 7f7864d) @dclarizi please review, this is clean cherry-pick from https://github.com/ManageIQ/manageiq/pull/6547 See merge request !874 app/controllers/api_controller.rb | 3 +++ 1 file changed, 3 insertions(+) Fixed. verified in 5.5.4.0.20160426160942_629f93b 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/RHBA-2016:1101 |