Project

General

Profile

Actions

Bug #12863

closed

Getting error when creating a task with recurring logic with end time set

Added by Marek Hulán over 8 years ago. Updated about 8 years ago.

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

Description

Getting

 | NameError (undefined local variable or method `recurring_options' for #<Class:0x00564bf9e57f18>):
 |   /home/ares/Projekty/Zdrojaky/foreman-tasks/app/models/foreman_tasks/recurring_logic.rb:115:in `block in new_from_triggering'
 |   /home/ares/Projekty/Zdrojaky/foreman-tasks/app/models/foreman_tasks/recurring_logic.rb:114:in `tap'
 |   /home/ares/Projekty/Zdrojaky/foreman-tasks/app/models/foreman_tasks/recurring_logic.rb:114:in `new_from_triggering'
 |   /home/ares/Projekty/Zdrojaky/foreman-tasks/app/models/foreman_tasks/triggering.rb:60:in `trigger'
 |   /home/ares/Projekty/Zdrojaky/foreman_remote_execution/app/controllers/job_invocations_controller.rb:34:in `create'
 |   app/controllers/concerns/application_shared.rb:13:in `set_timezone'
 |   app/models/concerns/foreman/thread_session.rb:32:in `clear_thread'
 |   lib/middleware/catch_json_parse_errors.rb:9:in `call'

Trace points to this line
https://github.com/theforeman/foreman-tasks/commit/b86be5c86c5c3f57418b7bb99491d69396fbcb48#diff-40322a10c66d72947f97da715484c8deR111

Tested with both 0.7.7 and 0.7.8


Related issues 1 (0 open1 closed)

Related to Foreman Remote Execution - Feature #10755: Reoccuring logic supportClosedAdam Ruzicka06/09/2015Actions
Actions #1

Updated by Marek Hulán over 8 years ago

Actions #2

Updated by The Foreman Bot about 8 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Adam Ruzicka
  • Pull request https://github.com/theforeman/foreman-tasks/pull/169 added
Actions #3

Updated by Adam Ruzicka about 8 years ago

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

Also available in: Atom PDF