You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the following (wrong) patchlet lets me creates issues, but not assigned to the user story:
diff --git a/lib/hooks.rb b/lib/hooks.rb
index aa5dd42..2b9662d 100644
--- a/lib/hooks.rb
+++ b/lib/hooks.rb
@@ -4,10 +4,10 @@ module RedmineSprints
render_on :view_issues_show_details_bottom, :partial => "issue_sprints/redirect_after_create"
def controller_issues_new_before_save(context = {})
- context[:issue].user_story_id = context[:params][:issue][:user_story_id]
- if context[:issue].user_story_id && context[:issue].fixed_version_id
- context[:issue].redirect_to = url_for(:controller => :sprints, :action => "show", :id => context[:issue].fixed_version_id, :project_id => context[:issue].project.i
- end
+# context[:issue].user_story_id = context[:params][:issue][:user_story_id]
+# if context[:issue].user_story_id && context[:issue].fixed_version_id
+# context[:issue].redirect_to = url_for(:controller => :sprints, :action => "show", :id => context[:issue].fixed_version_id, :project_id => context[:issue].project.
+# end
end
end
tasks can then be assigned to user stories using drag'n'drop from the "unassigned tasks"
The text was updated successfully, but these errors were encountered:
Using Redmine and current git of scum-pm
Dashboard -> user story -> add task
TypeError (can't convert nil into String):
lib/redmine/hook.rb:63:in
send' lib/redmine/hook.rb:63:in
call_hook'lib/redmine/hook.rb:63:in
each' lib/redmine/hook.rb:63:in
call_hook'lib/redmine/hook.rb:60:in
call_hook' lib/redmine/hook.rb:141:in
call_hook'app/controllers/issues_controller.rb:128:in
create' /usr/lib/ruby/1.8/phusion_passenger/rack/request_handler.rb:95:in
process_request'/usr/lib/ruby/1.8/phusion_passenger/abstract_request_handler.rb:207:in
main_loop' /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:374:in
start_request_handler'/usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:332:in
handle_spawn_application' /usr/lib/ruby/1.8/phusion_passenger/utils.rb:184:in
safe_fork'/usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:330:in
handle_spawn_application' /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in
send'/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in
main_loop' /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:196:in
start_synchronously'/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:163:in
start' /usr/lib/ruby/1.8/phusion_passenger/railz/application_spawner.rb:209:in
start'/usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:262:in
spawn_rails_application' /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:126:in
lookup_or_add'/usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:256:in
spawn_rails_application' /usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:80:in
synchronize'/usr/lib/ruby/1.8/phusion_passenger/abstract_server_collection.rb:79:in
synchronize' /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:255:in
spawn_rails_application'/usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:154:in
spawn_application' /usr/lib/ruby/1.8/phusion_passenger/spawn_manager.rb:287:in
handle_spawn_application'/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in
__send__' /usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:352:in
main_loop'/usr/lib/ruby/1.8/phusion_passenger/abstract_server.rb:196:in `start_synchronously'
/usr/lib/phusion_passenger/passenger-spawn-server:61
the following (wrong) patchlet lets me creates issues, but not assigned to the user story:
diff --git a/lib/hooks.rb b/lib/hooks.rb
index aa5dd42..2b9662d 100644
--- a/lib/hooks.rb
+++ b/lib/hooks.rb
@@ -4,10 +4,10 @@ module RedmineSprints
render_on :view_issues_show_details_bottom, :partial => "issue_sprints/redirect_after_create"
tasks can then be assigned to user stories using drag'n'drop from the "unassigned tasks"
The text was updated successfully, but these errors were encountered: