Project

General

Profile

Actions

Bug #21209

closed

Downloading/Viewing full arf reports shows undefined method `digest' for nil:NilClass

Added by Ondřej Pražák about 7 years ago. Updated over 6 years ago.

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

Description

Description of problem:
We were testing oscap. After deleting policy, we were trying to view full arf reports/ download arf reports of deleted policy.But it showed an error as "
Error: Failed to downloaded ARF report in HTML: ERF12-1831 [ProxyAPI::ProxyException]: Unable to get HTML version of requested report from Capsule ([NoMethodError]: undefined method `digest' for nil:NilClass) for Capsule https://some-hostname:9090/compliance/"

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. Navigate to Hosts -> Report
5. Try to View Full Report
6. Try to download report

Actual results:
while downloading, it showed an error as "
Error: Failed to downloaded ARF report in HTML: ERF12-1831 [ProxyAPI::ProxyException]: Unable to get HTML version of requested report from Capsule ([NoMethodError]: undefined method `digest' for nil:NilClass) for Capsule https://some-hostname:9090/compliance/"

and View full report page shows
"ERF12-1831 [ProxyAPI::ProxyException]: Unable to get HTML version of requested report from Capsule ([NoMethodError]: undefined method `digest' for nil:NilClass) for Capsule https://some-hostname:9090/compliance/"

Actions #1

Updated by The Foreman Bot about 7 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Ondřej Pražák
  • Pull request https://github.com/theforeman/foreman_openscap/pull/298 added
Actions #2

Updated by Marek Hulán about 7 years ago

  • Subject changed from Downloading/Viewing full arf reports shows undefined method `digest' for nil:NilClass to Downloading/Viewing full arf reports shows undefined method `digest' for nil:NilClass
  • Translation missing: en.field_release set to 314
Actions #3

Updated by The Foreman Bot about 7 years ago

  • Pull request https://github.com/theforeman/foreman_openscap/pull/300 added
Actions #4

Updated by Ondřej Pražák about 7 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF