Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't create recurring issue #49

Closed
ovoznyak opened this issue Sep 14, 2014 · 3 comments
Closed

Can't create recurring issue #49

ovoznyak opened this issue Sep 14, 2014 · 3 comments
Assignees
Labels
Milestone

Comments

@ovoznyak
Copy link

Redmine version 2.2.2
After filling input form i've got "Internal error, An error occurred on the page you were trying to access.
If you continue to experience problems please contact your Redmine administrator for assistance.
If you are the Redmine administrator, check your log files for details about the error."

log:
Started POST "/projects/s4/recurring_tasks/create" for ......... at Sun Sep 14 08:32:13 +0300 2014
Processing by RecurringTasksController#create as HTML
Parameters: {"commit"=>"Create Recurring task", "recurring_task"=>{"current_issue_id"=>"1522", "interval_number"=>"1", "id"=>"", "interval_unit"=>", "fixed_schedule"=>"1", "interval_modifier"=>"mdtl"}, "utf8"=>"вњ“", "authenticity_token"=>"............", "project_"=>"s4"}
Current user: ......... (id=3)
Redirected to http://redmine.lambo-project.com/issues/1522
Completed 302 Found in 104ms (ActiveRecord: 1.8ms)
Started GET "/issues/1522" for 178.93.148.154 at Sun Sep 14 08:32:13 +0300 2014
Processing by IssuesController#show as HTML
Parameters: {"id"=>"1522"}
Current user: ...... (id=3)
Rendered issues/_action_menu.html.erb (4.0ms)
Rendered plugins/redmine_code_review/app/views/code_review/_issues_show_details_bottom.html.erb (0.1ms)
Rendered plugins/recurring_tasks/app/views/issues/_show_recurrence.html.erb (5.6ms)
Rendered issues/show.html.erb within layouts/base (23.4ms)
Completed 500 Internal Server Error in 70ms

ActionView::Template::Error (undefined method closed_on' for #<Issue:0xb4e70d10>): 14: <%= link_to(rt.recurrence_to_s, edit_recurring_task_path(:id => rt.id, :project_id => project.id)) %> 15: </td> 16: <td> 17: <%= "#{l(:label_next_scheduled_run)}: #{rt.next_scheduled_recurrence}" %> 18: </td> 19: <td class="buttons"> 20: <%= link_to(l(:button_edit), edit_recurring_task_path(:id => rt.id, :project_id => project.id), :class => 'icon icon-edit') %> lib/redmine/hook.rb:111:insend'
lib/redmine/hook.rb:111:in view_issues_show_description_bottom' lib/redmine/hook.rb:61:insend'
lib/redmine/hook.rb:61:in call_hook' lib/redmine/hook.rb:61:ineach'
lib/redmine/hook.rb:61:in call_hook' lib/redmine/hook.rb:58:intap'
lib/redmine/hook.rb:58:in call_hook' lib/redmine/hook.rb:158:incall_hook'
app/views/issues/show.html.erb:92:in _app_views_issues_show_html_erb__764509039__630538038' app/controllers/issues_controller.rb:119:inshow'
app/controllers/issues_controller.rb:116:in `show'

@ovoznyak
Copy link
Author

As i see error is producing when i trying to open issue which was previously marked as periodic

@nutso nutso added the bug label Sep 14, 2014
@nutso nutso self-assigned this Sep 14, 2014
nutso added a commit that referenced this issue Sep 14, 2014
@nutso
Copy link
Owner

nutso commented Sep 14, 2014

Fixed in master.

@nutso nutso closed this as completed Sep 14, 2014
@ovoznyak
Copy link
Author

it works. thnx

@nutso nutso mentioned this issue Jun 14, 2015
@nutso nutso added this to the v1.5.0 milestone Jun 14, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants