{"action":"closed","issue":{"url":"https://api.github.com/repos/deecay/redmine_pivot_table/issues/6","labels_url":"https://api.github.com/repos/deecay/redmine_pivot_table/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/deecay/redmine_pivot_table/issues/6/comments","events_url":"https://api.github.com/repos/deecay/redmine_pivot_table/issues/6/events","html_url":"https://github.com/deecay/redmine_pivot_table/issues/6","id":112110230,"number":6,"title":"Internal error","user":{"login":"FumbleBe","id":14941083,"avatar_url":"https://avatars.githubusercontent.com/u/14941083?v=3","gravatar_id":"","url":"https://api.github.com/users/FumbleBe","html_url":"https://github.com/FumbleBe","followers_url":"https://api.github.com/users/FumbleBe/followers","following_url":"https://api.github.com/users/FumbleBe/following{/other_user}","gists_url":"https://api.github.com/users/FumbleBe/gists{/gist_id}","starred_url":"https://api.github.com/users/FumbleBe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FumbleBe/subscriptions","organizations_url":"https://api.github.com/users/FumbleBe/orgs","repos_url":"https://api.github.com/users/FumbleBe/repos","events_url":"https://api.github.com/users/FumbleBe/events{/privacy}","received_events_url":"https://api.github.com/users/FumbleBe/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-19T09:45:39Z","updated_at":"2015-12-24T08:13:23Z","closed_at":"2015-12-24T08:13:23Z","body":"On a redmine 3.1.1.\r\nI installed the plugin, enabled it to a project, but when I go to \"Pivot\", I got an \"Internal error\" page:\r\n\r\n\"Internal error\r\n\r\nAn error occurred on the page you were trying to access.\r\nIf you continue to experience problems please contact your Redmine administrator for assistance.\r\n\r\nIf you are the Redmine administrator, check your log files for details about the error.\"\r\n\r\nIn the logs, I got:\r\n\r\nRendered plugins/redmine_pivot_table/app/views/pivottables/index.html\r\nCompleted 500 Internal Server Error in 160ms (ActiveRecord: 4.6ms)\r\n\r\nActionView::Template::Error (undefined method `caption' for nil:NilClas\r\n    107:               <%= raw %|rendererName: \"#{@rendererName}\",| if\r\n    108:               <%= raw %|aggregatorName: \"#{@aggregatorName}\",|\r\n    109:               <%= raw %|vals: [\"#{@vals.join('\",\"')}\"],| if @v\r\n    110:               <%= raw @rows == nil ? %|rows: [\"#{pv_caption(:f\r\n    111:               <%= raw @cols == nil ? %|cols: [\"#{pv_caption(:s\r\n    112:               unusedAttrsVertical: false\r\n    113:            }, false, \"<%= @language %>\");\r\n  lib/redmine/sudo_mode.rb:63:in `sudo_mode'\r\n\r\nAny help will be appreciate \r\n\r\nregards,\r\n"}}