Project

General

Profile

Actions

Bug #33539

closed

Undefined method error when calling Api::V2::SmartProxiesController#import_puppetclasses

Added by Nadja Heitmann about 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Category:
API
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

09:16:04 rails.1   | 2021-09-22T09:16:04 [I|app|036b295b] Started POST "/api/smart_proxies/1/import_puppetclasses" for 192.168.121.1 at 2021-09-22 09:16:04 +0000
09:16:04 rails.1   | 2021-09-22T09:16:04 [I|app|036b295b] Processing by Api::V2::SmartProxiesController#import_puppetclasses as JSON
09:16:04 rails.1   | 2021-09-22T09:16:04 [I|app|036b295b]   Parameters: {"apiv"=>"v2", "id"=>"1", "smart_proxy"=>{}}
09:16:04 rails.1   | 2021-09-22T09:16:04 [W|app|036b295b] Action failed
09:16:04 rails.1   | 2021-09-22T09:16:04 [I|app|036b295b] Backtrace for 'Action failed' error (NoMethodError): undefined method `fail_and_inform_about_plugin_for_import' for #<Api::V2::SmartProxiesController:0x00007fa0d95f2838>

Tested on current develop branch (fcd63a38456375144f15d174d8945e68615e0c1d)

Actions

Also available in: Atom PDF