Project

General

Profile

Actions

Bug #21062

closed

Navigating to arf_reports page shows undefined method `name' for nil:NilClass

Added by Marek Hulán about 7 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1494082

Description of problem: We were testing oscap feature for satellite 6.3 snap 16. But when we delete the scap policy, the page of arf reports shows "Oops, we're sorry but something went wrong undefined method `name' for nil:NilClass".

Version-Release number of selected component (if applicable): satellite 6.3 snap 16

*How reproducible:*always

Steps to Reproduce:
1. Create scap policy and generate arf report for a host
2. Make sure report has generated.
3. Now delete the scap policy
4. Try to navigate to Hosts -> Report

Actual results:
The page show "Oops, we're sorry but something went wrong undefined method `name' for nil:NilClass" and production.log show 500 internal server error.

Expected results:
The report page should display.

Additional info:


Related issues 1 (0 open1 closed)

Related to OpenSCAP - Bug #18908: It is not obvious what policy does the report belong toClosedOndřej Pražák03/15/2017Actions
Actions

Also available in: Atom PDF