Bug 1771044 - ping endpoint fails with "Error caught: [ActionView::MissingTemplate] Missing template ping/index"
Summary: ping endpoint fails with "Error caught: [ActionView::MissingTemplate] Missing...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Appliance
Version: 5.11.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.12.0
Assignee: Jason Frey
QA Contact: Sudhir Mallamprabhakara
Red Hat CloudForms Documentation
URL:
Whiteboard:
Depends On:
Blocks: 1771737
TreeView+ depends on / blocked
 
Reported: 2019-11-11 18:58 UTC by Jason Frey
Modified: 2020-10-26 16:13 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1771737 (view as bug list)
Environment:
Last Closed: 2020-10-26 16:13:45 UTC
Category: Bug
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jason Frey 2019-11-11 18:58:43 UTC
Description of problem:

Hit the /ping endpoint and it fails with a 500 error and the following in the log:

  Error caught: [ActionView::MissingTemplate] Missing template ping/index


Version-Release number of selected component (if applicable):
5.11.x


How reproducible:
Always


Steps to Reproduce:
1. Hit the /ping endpoint
2. ???
3. Profit?


Actual results:
500 error


Expected results:
"pong"


Additional info:

Comment 3 CFME Bot 2019-11-12 09:46:59 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:

https://github.com/ManageIQ/manageiq-ui-classic/commit/a001212005bd3f6d92677e257e31ed8afa999cfc
commit a001212005bd3f6d92677e257e31ed8afa999cfc
Author:     Jason Frey <jfrey>
AuthorDate: Mon Nov 11 13:45:10 2019 -0500
Commit:     Jason Frey <jfrey>
CommitDate: Mon Nov 11 13:45:10 2019 -0500

    Fix PingController

    With `render :text`, this fails with the following error:

        Error caught: [ActionView::MissingTemplate] Missing template ping/index, application/index with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:raw, :erb, :html, :builder, :ruby, :coffee, :haml, :rjs]}.

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1771044

 app/controllers/ping_controller.rb | 2 +-
 spec/controllers/ping_controller_spec.rb | 10 +
 2 files changed, 11 insertions(+), 1 deletion(-)


Note You need to log in before you can comment on or make changes to this bug.