Bug #21209
closedDownloading/Viewing full arf reports shows undefined method `digest' for nil:NilClass
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/"
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
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
Updated by The Foreman Bot about 7 years ago
- Pull request https://github.com/theforeman/foreman_openscap/pull/300 added
Updated by Ondřej Pražák about 7 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset foreman_openscap|4d6237ceeb9746295d99484a116c3079d721e0ec.