Content
[solved] Cannot create any work package
Added by Nima Kamkar over 10 years ago
Hello all
I am an OP newbie and working off a brand new install of OP3 on Debian. I am trying to add my first work package to my first project and when I click on “create”, I get an HTTP 500 error. All I am doing now is the most basic entry a name for subject and description and a “10” for estimated hours, so no file attachments or any other fields so far. When I look at production.log, I see thw below message.
Any ideas?
Best wishes
Nima
Processing by WorkPackagesController#create as HTML
Parameters: {“utf8”=>“✓”, “authenticity_token”=>“/ZSPZsvWxbLUrb6UW19RdIbuGLj1F7feDqfTg39kH/E=”, “work_package”=>{“type_id”=>“3”, “subject”=>“feature 1”, “parent_id”=>“”, “description”=>“dsfgdfgdfgdf”, “status_id”=>“1”, “priority_id”=>“2”, “assigned_to_id”=>“33”, “responsible_id”=>“33”, “start_date”=>“”, “due_date”=>“”, “estimated_hours”=>“10”, “done_ratio”=>“0”, “cost_object_id”=>“”, “remaining_hours”=>“”}, “attachments”=>{“1”=>{“description”=>“”}}, “send_notification”=>“1”, “commit”=>“Create”, “project_id”=>“test-2”}
Rendered user_mailer/_issue_details.html.erb (10.9ms)
Rendered user_mailer/work_package_added.html.erb within layouts/user_mailer (12.2ms)
Rendered user_mailer/_issue_details.text.erb (6.1ms)
Rendered user_mailer/work_package_added.text.erb within layouts/user_mailer (6.8ms)
Sent mail to XXXX@XXXX.com (44.2ms)
Completed 500 Internal Server Error in 175.8ms
SocketError (getaddrinfo: Name or service not known):
app/models/work_package_observer.rb:38:in `block in after_create’
app/models/work_package_observer.rb:37:in `each’
app/models/work_package_observer.rb:37:in `after_create’
app/controllers/work_packages_controller.rb:144:in `create’
Replies (2)
Hi everyone
I figured out the problem. It had nothing to do with the work package, but with the email. Email wasn’t working as I still had not figured out what was wrong with it. Anyway, since I couldn’t create a work package and posted this message here, I decided to go and fix the email problem which I did. Tested creating new WP and it worked.
Still, this is an unhandled bug which should be addressed. I still haven’t searched yet, but is there a bug management system I can report bugs to?
Best wishes
Nima
Hi Nima,
here is a short overview of how to report a bug
Regards
Niels