Actions
Bug #12863
closedGetting error when creating a task with recurring logic with end time set
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
Updated by Marek Hulán almost 9 years ago
- Related to Feature #10755: Reoccuring logic support added
Updated by The Foreman Bot almost 9 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
Updated by Adam Ruzicka almost 9 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset f0b21630caf409d8da506d126daac9e5308896fb.
Actions