Project

General

Profile

Actions

Bug #15778

closed

Can't use process_success Foreman method in API controllers on DynflowTask

Added by Marek Hulán over 7 years ago. Updated over 5 years ago.

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

Description

When I try to use following in API controller in Foreman

process_success task

to render task json, I'm getting undefined method `foreman_tasks_task_dynflow_task_url'
This happens if task is kind of ForemanTasks::DynflowTask. To fix it we can use the same technique Foreman uses for operating systems STI.


Related issues 2 (0 open2 closed)

Related to Foreman Remote Execution - Bug #16067: create job invocation hammer command fails with NoMethodError (undefined method `[]' for nil:NilClass):ClosedIvan Necas08/11/2016Actions
Blocks Foreman - Feature #15779: Make report, puppet classes and environments importing asynchronous using foreman-tasksClosedMarek Hulán07/22/2016Actions
Actions #1

Updated by The Foreman Bot over 7 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/foreman-tasks/pull/194 added
Actions #2

Updated by Marek Hulán over 7 years ago

  • Blocks Feature #15779: Make report, puppet classes and environments importing asynchronous using foreman-tasks added
Actions #3

Updated by Ivan Necas over 7 years ago

  • Status changed from Ready For Testing to Closed
  • translation missing: en.field_release set to 176
Actions #4

Updated by Ivan Necas over 7 years ago

  • Related to Bug #16067: create job invocation hammer command fails with NoMethodError (undefined method `[]' for nil:NilClass): added
Actions

Also available in: Atom PDF