Project

General

Profile

Actions

Bug #17454

closed

scap report view on compliance host fails with 500

Added by Unx Support almost 8 years ago. Updated almost 8 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Oops, we're sorry but something went wrong

/opt/theforeman/tfm/root/usr/share/gems/gems/foreman_openscap-0.5.4/app/views/compliance_hosts/show.html.erb:3: syntax error, unexpected tIDENTIFIER, expecting ')' ... compliance reports by policy"m , host.combined_policies.len... ... ^ /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_openscap-0.5.4/app/views/compliance_hosts/show.html.erb:3: syntax error, unexpected ')', expecting '=' ... host.combined_policies.length) % @host.to_label ... ^ /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_openscap-0.5.4/app/views/compliance_hosts/show.html.erb:4: syntax error, unexpected keyword_do_block, expecting keyword_end @host.combined_policies.each do |policy| ^ /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_openscap-0.5.4/app/views/compliance_hosts/show.html.erb:32: syntax error, unexpected keyword_ensure, expecting end-of-input.

How do i fix this ?


Related issues 1 (0 open1 closed)

Related to OpenSCAP - Bug #15698: SyntaxError on compliance host reportClosed07/15/2016Actions
Actions #1

Updated by Marek Hulán almost 8 years ago

  • Project changed from Foreman to OpenSCAP
  • Subject changed from scp report view on compliance host to scap report view on compliance host fails with 500
  • Description updated (diff)
  • Status changed from New to Duplicate
  • Triaged set to No

I believe this is a duplicate of http://projects.theforeman.org/issues/16355, it has been fixed in foreman_openscap 0.6.0, please upgrade.

Actions #2

Updated by Marek Hulán almost 8 years ago

Actually a duplicate of #15698, #16355 was another duplicate of it.

Actions #3

Updated by Marek Hulán almost 8 years ago

  • Related to Bug #15698: SyntaxError on compliance host report added
Actions

Also available in: Atom PDF