Project

General

Profile

Actions

Bug #2146

closed

incorrect error logged when security checks are enabled but not configured

Added by Ohad Levy about 11 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Authentication
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Started POST "/reports" for 10.35.27.25 at Sun Jan 20 15:28:20 +0000 2013
Processing by ReportsController#create as

SSL is required - request from 10.35.27.25
Redirected to http://foreman/users/login
Operation FAILED: Render and/or redirect were called multiple times in this action. Please note that you may only call render OR redirect, and at most once per action. Also note that neither redirect nor render terminate execution of the action, so if you want to exit an action after redirecting, you need to do something like "redirect_to(...) and return".
Completed 500 Internal Server Error in 135ms

AbstractController::DoubleRenderError (Render and/or redirect were called multiple times in this action. Please note that you may only call render OR redirect, and at most once per action. Also note that neither redirect nor render terminate execution of the action, so if you want to exit an action after redirecting, you need to do something like "redirect_to(...) and return".):
  app/controllers/application_controller.rb:290:in `generic_exception'

Actions #1

Updated by Ohad Levy about 11 years ago

this imho caused as the require_login can redirect to the login page.

Actions #2

Updated by Dominic Cleal about 11 years ago

  • Status changed from New to Ready For Testing
Actions #3

Updated by Dominic Cleal about 11 years ago

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

Also available in: Atom PDF