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/"