{"action":"created","issue":{"url":"https://api.github.com/repos/danmunn/redmine_dmsf/issues/408","labels_url":"https://api.github.com/repos/danmunn/redmine_dmsf/issues/408/labels{/name}","comments_url":"https://api.github.com/repos/danmunn/redmine_dmsf/issues/408/comments","events_url":"https://api.github.com/repos/danmunn/redmine_dmsf/issues/408/events","html_url":"https://github.com/danmunn/redmine_dmsf/issues/408","id":95662771,"number":408,"title":"after upgrade 1.5.1 -> 1.5.2. \"top level based search\" results in http:500 when \"Documents\" is included","user":{"login":"tjaeger","id":5296371,"avatar_url":"https://avatars.githubusercontent.com/u/5296371?v=3","gravatar_id":"","url":"https://api.github.com/users/tjaeger","html_url":"https://github.com/tjaeger","followers_url":"https://api.github.com/users/tjaeger/followers","following_url":"https://api.github.com/users/tjaeger/following{/other_user}","gists_url":"https://api.github.com/users/tjaeger/gists{/gist_id}","starred_url":"https://api.github.com/users/tjaeger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjaeger/subscriptions","organizations_url":"https://api.github.com/users/tjaeger/orgs","repos_url":"https://api.github.com/users/tjaeger/repos","events_url":"https://api.github.com/users/tjaeger/events{/privacy}","received_events_url":"https://api.github.com/users/tjaeger/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/danmunn/redmine_dmsf/labels/type:%20bug","name":"type: bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"picman","id":779003,"avatar_url":"https://avatars.githubusercontent.com/u/779003?v=3","gravatar_id":"","url":"https://api.github.com/users/picman","html_url":"https://github.com/picman","followers_url":"https://api.github.com/users/picman/followers","following_url":"https://api.github.com/users/picman/following{/other_user}","gists_url":"https://api.github.com/users/picman/gists{/gist_id}","starred_url":"https://api.github.com/users/picman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/picman/subscriptions","organizations_url":"https://api.github.com/users/picman/orgs","repos_url":"https://api.github.com/users/picman/repos","events_url":"https://api.github.com/users/picman/events{/privacy}","received_events_url":"https://api.github.com/users/picman/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/danmunn/redmine_dmsf/milestones/12","html_url":"https://github.com/danmunn/redmine_dmsf/milestones/1.5.2","labels_url":"https://api.github.com/repos/danmunn/redmine_dmsf/milestones/12/labels","id":1049814,"number":12,"title":"1.5.2","description":"Redmine 3.x compatibility\r\nREST API","creator":{"login":"picman","id":779003,"avatar_url":"https://avatars.githubusercontent.com/u/779003?v=3","gravatar_id":"","url":"https://api.github.com/users/picman","html_url":"https://github.com/picman","followers_url":"https://api.github.com/users/picman/followers","following_url":"https://api.github.com/users/picman/following{/other_user}","gists_url":"https://api.github.com/users/picman/gists{/gist_id}","starred_url":"https://api.github.com/users/picman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/picman/subscriptions","organizations_url":"https://api.github.com/users/picman/orgs","repos_url":"https://api.github.com/users/picman/repos","events_url":"https://api.github.com/users/picman/events{/privacy}","received_events_url":"https://api.github.com/users/picman/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":27,"state":"closed","created_at":"2015-04-02T05:29:55Z","updated_at":"2015-07-20T11:05:30Z","due_on":null,"closed_at":"2015-07-14T08:53:54Z"},"comments":15,"created_at":"2015-07-17T14:06:43Z","updated_at":"2015-07-20T15:49:09Z","closed_at":null,"body":"Do below messages reveal anything i may oversee ?\r\n- - - - - - - - - - - - - - - - - - - - - - \r\n/log/redmine.log\r\n```\r\nParameters: {\"utf8\"=>\"✓\", \"q\"=>\"TEST\"}\r\n  Current user: tjaeger (id=14)\r\nCompleted 500 Internal Server Error in 154.2ms\r\n\r\nNoMethodError (undefined method `event_description=' for #<DmsfFile:0x007faf2c62d828>):\r\n  app/controllers/search_controller.rb:74:in `block in index'\r\n  app/controllers/search_controller.rb:73:in `each'\r\n  app/controllers/search_controller.rb:73:in `index'\r\n```\r\n- - - - - - - - - - - - - - - - - - - - - - \r\n```\r\nEnvironment:\r\n  Redmine version                2.6.6.stable.14445\r\n  Ruby version                   2.1.3-p242 (2014-09-19) [x86_64-linux]\r\n  Rails version                  3.2.22\r\n  Environment                    production\r\n  Database adapter               Mysql2\r\n```\r\n```\r\nFrom https://github.com/danmunn/redmine_dmsf\r\n * branch            master     -> FETCH_HEAD\r\n   1b22655..fa07cd7  master     -> origin/master\r\nUpdating 1b22655..fa07cd7\r\n```\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/danmunn/redmine_dmsf/issues/comments/122924090","html_url":"https://github.com/danmunn/redmine_dmsf/issues/408#issuecomment-122924090","issue_url":"https://api.github.com/repos/danmunn/redmine_dmsf/issues/408","id":122924090,"user":{"login":"tjaeger","id":5296371,"avatar_url":"https://avatars.githubusercontent.com/u/5296371?v=3","gravatar_id":"","url":"https://api.github.com/users/tjaeger","html_url":"https://github.com/tjaeger","followers_url":"https://api.github.com/users/tjaeger/followers","following_url":"https://api.github.com/users/tjaeger/following{/other_user}","gists_url":"https://api.github.com/users/tjaeger/gists{/gist_id}","starred_url":"https://api.github.com/users/tjaeger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tjaeger/subscriptions","organizations_url":"https://api.github.com/users/tjaeger/orgs","repos_url":"https://api.github.com/users/tjaeger/repos","events_url":"https://api.github.com/users/tjaeger/events{/privacy}","received_events_url":"https://api.github.com/users/tjaeger/received_events","type":"User","site_admin":false},"created_at":"2015-07-20T15:49:09Z","updated_at":"2015-07-20T15:49:09Z","body":"not sure if this gives another clue:\r\nDirectly (and only once) after restarting httpd i see:\r\n```\r\nNoMethodError (undefined method `name' for \"DmsfFile\":ActiveModel::Name):\r\n  app/controllers/search_controller.rb:74:in `block in index'\r\n  app/controllers/search_controller.rb:73:in `each'\r\n  app/controllers/search_controller.rb:73:in `index'\r\n```\r\nthan the following errors will be:\r\n```\r\nNoMethodError (undefined method `search' for #<Class:0x000000032935a8>):\r\n  app/controllers/search_controller.rb:74:in `block in index'\r\n  app/controllers/search_controller.rb:73:in `each'\r\n  app/controllers/search_controller.rb:73:in `index'\r\n```\r\nBut overall effect is as documented before."}}