Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      OpenProject ID Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Updated by Wolfgang Grossinger almost 11 years ago

I get an internal server error when I create a work package:

Started GET “/work\_packages/5” for 192.168.1.100 at 2014-08-15 17:38:59 +0200
Processing by WorkPackagesController\#show as HTML
Parameters: {“id”=\>“5”}
Rendered /home/openproject/.gem/ruby/bundler/gems/openproject-costs-c7135cb97ebb/app/views/hooks/costs/\_view\_work\_package\_show\_action\_menu.html.erb (1.7ms)
Rendered work\_packages/\_action\_menu.html.erb (7.8ms)
Rendered layouts/\_action\_menu\_base.html.erb (0.2ms)
Rendered layouts/\_action\_menu\_specific.html.erb (0.4ms)
Rendered accessibility/\_empty\_element\_tag.html.erb (0.1ms)
Rendered work\_packages/show.html.erb within layouts/base (36.1ms)
Completed 500 Internal Server Error in 62.1ms

ActionView::Template::Error (undefined method \`attribute’ for nil:NilClass):
51:
52:

<div class="issue details">

53:

<div class="meta">

54: \<% attributes = work\_package\_show\_attributes(work\_package) %\>
55:

<div id="left" style="float:left; width:50%;">

56:

<table class="attributes">

57: \<% attributes\[:left\].each do |attribute| %\>
lib/redmine/hook.rb:73:in \`block (2 levels) in call\_hook’
lib/redmine/hook.rb:73:in \`each’
lib/redmine/hook.rb:73:in \`block in call\_hook’
lib/redmine/hook.rb:70:in \`tap’
lib/redmine/hook.rb:70:in \`call\_hook’
lib/redmine/hook.rb:174:in \`call\_hook’
app/helpers/work\_packages\_helper.rb:627:in \`hook\_attributes’
app/helpers/work\_packages\_helper.rb:340:in \`work\_package\_show\_attribute\_list’
app/helpers/work\_packages\_helper.rb:351:in \`work\_package\_show\_attributes’
app/views/work\_packages/show.html.erb:54:in \`\_app\_views\_work\_packages\_show\_html\_erb\_\_663906531342829796\_70246116209620’
app/controllers/work\_packages\_controller.rb:66:in \`block (2 levels) in show’
app/controllers/work\_packages\_controller.rb:64:in \`show’

Every work package is actually created but it is not possible to use it.

Back

Loading...