Project

General

Profile

Bug #2040

uninitialized constant Apipie::ParamError

Added by Viacheslav Biriukov over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Description

Foreman foreman-1.1RC1-3.el6.noarch

uninitialized constant Apipie::ParamError

BT
/usr/share/foreman/app/controllers/api/base_controller.rb 19

When I comment block all work smoothly:

  1. rescue_from Apipie::ParamError, :with => lambda { |error|
  2. Rails.logger.info "#{error.message} (#{error.class})"
  3. render_error 'param_error', :status => :bad_request, :locals => { :exception => error }
  4. }

History

#1 Updated by Sam Kottler over 9 years ago

  • Status changed from New to Closed

This was an issue with the packaging for apipie. Running an update of the rubygem-apipie-rails package will fix it.

Sorry for the inconvenience!

#2 Updated by Viacheslav Biriukov over 9 years ago

Thanks!

Also available in: Atom PDF