Bug 720991
Summary: | Segmentation Fault during Roles - Add Permission | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Brad Buckingham <bbuckingham> |
Component: | WebUI | Assignee: | Brad Buckingham <bbuckingham> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Katello QA List <katello-qa-list> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.0.1 | CC: | cwelton, lzap, mmccune |
Target Milestone: | Unspecified | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-08-22 17:49:53 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: | |||
Bug Blocks: | 747354 |
Description
Brad Buckingham
2011-07-13 13:38:29 UTC
The code is for loading all the models, we need the list of all model classes for table name to class translation and vice versa. The workaround is to change this line Dir.foreach("#{Rails.root}/app/models") { |f| require f if f =~ /.*\.[rR][bB]/ } to require 'app/models/kp_environment' ... ... all the models for which users are allowed to create permissions ... @Brad - Do you want me to do the fix in the git? @Lukáš, since you are most familiar with that codebase and the changes coming, please do. Thanks! ade0f49 720991 - Segmentation Fault during Roles - Add Permission @Brad - can you verify its gone for you? I was not able to reproduce on F15, but if you dont have F14 devsetup, I can provision a box for this one. I am not seeing this occur on F14 anymore. Will wait for Brad's feedback and then close it out. I also was unable to repro the issue on F14, using the latest changes. :) QA Verified. getting rid of 6.0.0 version since that doesn't exist |