{"action":"created","issue":{"url":"https://api.github.com/repos/annikoff/redmine_plugin_computed_custom_field/issues/41","repository_url":"https://api.github.com/repos/annikoff/redmine_plugin_computed_custom_field","labels_url":"https://api.github.com/repos/annikoff/redmine_plugin_computed_custom_field/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/annikoff/redmine_plugin_computed_custom_field/issues/41/comments","events_url":"https://api.github.com/repos/annikoff/redmine_plugin_computed_custom_field/issues/41/events","html_url":"https://github.com/annikoff/redmine_plugin_computed_custom_field/issues/41","id":170544208,"number":41,"title":"problem installing plugin on redmine 3.2.1 and 3.3.0","user":{"login":"b2s-dlai","id":20563369,"avatar_url":"https://avatars.githubusercontent.com/u/20563369?v=3","gravatar_id":"","url":"https://api.github.com/users/b2s-dlai","html_url":"https://github.com/b2s-dlai","followers_url":"https://api.github.com/users/b2s-dlai/followers","following_url":"https://api.github.com/users/b2s-dlai/following{/other_user}","gists_url":"https://api.github.com/users/b2s-dlai/gists{/gist_id}","starred_url":"https://api.github.com/users/b2s-dlai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/b2s-dlai/subscriptions","organizations_url":"https://api.github.com/users/b2s-dlai/orgs","repos_url":"https://api.github.com/users/b2s-dlai/repos","events_url":"https://api.github.com/users/b2s-dlai/events{/privacy}","received_events_url":"https://api.github.com/users/b2s-dlai/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-08-10T23:45:45Z","updated_at":"2016-08-12T21:04:57Z","closed_at":null,"body":"I installed the computed_custom_field plugin on version 3.3.0 and 3.2.1. It seems to work fine for a new server with no existing data.\r\n\r\nHowever, on an existing server with data, I found out later that I am no longer able to create new projects. When I try to create projects, I get the following:\r\n\r\nInternal error\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\nBack\r\n\r\n\r\nand in log/production.log I get:\r\n\r\nStarted POST \"/projects\" for 69.75.38.26 at 2016-08-10 16:10:28 -0700\r\nProcessing by ProjectsController#create as HTML\r\nParameters: {\"utf8\"=>\"✓\", \"authenticity_token\"=>\"f/y63H6kCotXhv0YhplVhQ0VxgZG9oZu49Mr721eQNR+oQXMChFi5lZUnyq9rW6AOJNgH9NVSFgNJDSrKIqYNQ==\", \"project\"=>{\"name\"=>\"dereklai02\", \"description\"=>\"\", \"identifier\"=>\"dereklai02\", \"homepage\"=>\"\", \"is_public\"=>\"1\", \"parent_id\"=>\"\", \"inherit_members\"=>\"0\", \"custom_field_values\"=>{\"6\"=>\"\", \"4\"=>\"\", \"8\"=>\"\", \"5\"=>\"\", \"7\"=>\"\", \"9\"=>\"0\"}, \"enabled_module_names\"=>[\"issue_tracking\", \"time_tracking\", \"wiki\", \"boards\", \"calendar\", \"gantt\", \"agile\", \"\"], \"tracker_ids\"=>[\"1\", \"6\", \"5\", \"4\", \"\"], \"issue_custom_field_ids\"=>[\"\"]}, \"commit\"=>\"Create\"}\r\nCurrent user: derek.lai (id=71)\r\nCompleted 500 Internal Server Error in 32ms (ActiveRecord: 4.3ms)\r\n\r\nSyntaxError ((eval):1: syntax error, unexpected end-of-input):\r\nplugins/computed_custom_field/lib/patches/klass.rb:18:in `eval'\r\nplugins/computed_custom_field/lib/patches/klass.rb:18:in `block in compute'\r\nplugins/computed_custom_field/lib/patches/klass.rb:10:in `each'\r\nplugins/computed_custom_field/lib/patches/klass.rb:10:in `compute'\r\napp/controllers/projects_controller.rb:78:in `create'\r\nlib/redmine/sudo_mode.rb:63:in `sudo_mode'\r\n\r\nPlease help. Thanks,\r\n\r\nDerek\r\n"},"comment":{"url":"https://api.github.com/repos/annikoff/redmine_plugin_computed_custom_field/issues/comments/239559471","html_url":"https://github.com/annikoff/redmine_plugin_computed_custom_field/issues/41#issuecomment-239559471","issue_url":"https://api.github.com/repos/annikoff/redmine_plugin_computed_custom_field/issues/41","id":239559471,"user":{"login":"b2s-dlai","id":20563369,"avatar_url":"https://avatars.githubusercontent.com/u/20563369?v=3","gravatar_id":"","url":"https://api.github.com/users/b2s-dlai","html_url":"https://github.com/b2s-dlai","followers_url":"https://api.github.com/users/b2s-dlai/followers","following_url":"https://api.github.com/users/b2s-dlai/following{/other_user}","gists_url":"https://api.github.com/users/b2s-dlai/gists{/gist_id}","starred_url":"https://api.github.com/users/b2s-dlai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/b2s-dlai/subscriptions","organizations_url":"https://api.github.com/users/b2s-dlai/orgs","repos_url":"https://api.github.com/users/b2s-dlai/repos","events_url":"https://api.github.com/users/b2s-dlai/events{/privacy}","received_events_url":"https://api.github.com/users/b2s-dlai/received_events","type":"User","site_admin":false},"created_at":"2016-08-12T21:04:57Z","updated_at":"2016-08-12T21:04:57Z","body":"Here’s a screenshot of the plugins we are using: http://d.pr/i/JUBW <http://d.pr/i/JUBW>\n\nIt is interesting. I installed a new system, installed all these plugins (including the computed_custom_field), and they seem to work ok. I can create new projects. Backed up the data from the production system, restored on this test system, and started getting error when trying to create new project. So it seem to have something to do with our data.\n\nIs there any kind of debugging tools I can use to get more info?\n\nDerek Lai | IT Manager  | Base2 Solutions\n\n(714) 987-2372\n\n3040 Saturn St, STE 202, Brea, CA 92821\n\n\n\n\n\n> On Aug 11, 2016, at 12:31 PM, Yakov <notifications@github.com> wrote:\n> \n> I thought maybe some formula was incorrect.\n> I can not reproduce this error.\n> Please describe your environment - custom fields, installed plugins.\n> \n> —\n> You are receiving this because you authored the thread.\n> Reply to this email directly, view it on GitHub <https://github.com/annikoff/redmine_plugin_computed_custom_field/issues/41#issuecomment-239266479>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ATnFqdOHNWKdxGZHxJTF6RRYsR2tDetVks5qe3imgaJpZM4Jhr4F>.\n> \n\n"}}
{"actor":{"display_login":"b2s-dlai"}}