{"action":"closed","issue":{"url":"https://api.github.com/repos/ekylibre/ekylibre/issues/1919","repository_url":"https://api.github.com/repos/ekylibre/ekylibre","labels_url":"https://api.github.com/repos/ekylibre/ekylibre/issues/1919/labels{/name}","comments_url":"https://api.github.com/repos/ekylibre/ekylibre/issues/1919/comments","events_url":"https://api.github.com/repos/ekylibre/ekylibre/issues/1919/events","html_url":"https://github.com/ekylibre/ekylibre/issues/1919","id":231818288,"number":1919,"title":"RuntimeError: Unknown equipment: vendor=, model=","user":{"login":"burisu","id":240595,"avatar_url":"https://avatars2.githubusercontent.com/u/240595?v=3","gravatar_id":"","url":"https://api.github.com/users/burisu","html_url":"https://github.com/burisu","followers_url":"https://api.github.com/users/burisu/followers","following_url":"https://api.github.com/users/burisu/following{/other_user}","gists_url":"https://api.github.com/users/burisu/gists{/gist_id}","starred_url":"https://api.github.com/users/burisu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/burisu/subscriptions","organizations_url":"https://api.github.com/users/burisu/orgs","repos_url":"https://api.github.com/users/burisu/repos","events_url":"https://api.github.com/users/burisu/events{/privacy}","received_events_url":"https://api.github.com/users/burisu/received_events","type":"User","site_admin":false},"labels":[{"id":10480735,"url":"https://api.github.com/repos/ekylibre/ekylibre/labels/Bug","name":"Bug","color":"444444","default":false},{"id":12513553,"url":"https://api.github.com/repos/ekylibre/ekylibre/labels/Production","name":"Production","color":"eb6420","default":false}],"state":"closed","locked":false,"assignee":{"login":"burisu","id":240595,"avatar_url":"https://avatars2.githubusercontent.com/u/240595?v=3","gravatar_id":"","url":"https://api.github.com/users/burisu","html_url":"https://github.com/burisu","followers_url":"https://api.github.com/users/burisu/followers","following_url":"https://api.github.com/users/burisu/following{/other_user}","gists_url":"https://api.github.com/users/burisu/gists{/gist_id}","starred_url":"https://api.github.com/users/burisu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/burisu/subscriptions","organizations_url":"https://api.github.com/users/burisu/orgs","repos_url":"https://api.github.com/users/burisu/repos","events_url":"https://api.github.com/users/burisu/events{/privacy}","received_events_url":"https://api.github.com/users/burisu/received_events","type":"User","site_admin":false},"assignees":[{"login":"burisu","id":240595,"avatar_url":"https://avatars2.githubusercontent.com/u/240595?v=3","gravatar_id":"","url":"https://api.github.com/users/burisu","html_url":"https://github.com/burisu","followers_url":"https://api.github.com/users/burisu/followers","following_url":"https://api.github.com/users/burisu/following{/other_user}","gists_url":"https://api.github.com/users/burisu/gists{/gist_id}","starred_url":"https://api.github.com/users/burisu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/burisu/subscriptions","organizations_url":"https://api.github.com/users/burisu/orgs","repos_url":"https://api.github.com/users/burisu/repos","events_url":"https://api.github.com/users/burisu/events{/privacy}","received_events_url":"https://api.github.com/users/burisu/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2017-05-27T18:05:42Z","updated_at":"2017-06-13T20:22:45Z","closed_at":"2017-06-13T20:22:45Z","body":"Error located in a job SensorReading\r\n```\r\nRuntimeError: Unknown equipment: vendor=, model=\r\n  from app/models/sensor.rb:98:in `retrieve'\r\n  from app/models/sensor.rb:153:in `block in retrieve_all'\r\n  from active_record/relation/batches.rb:51:in `block (2 levels) in find_each'\r\n  from active_record/relation/batches.rb:51:in `each'\r\n  from active_record/relation/batches.rb:51:in `block in find_each'\r\n  from active_record/relation/batches.rb:124:in `find_in_batches'\r\n  from active_record/relation/batches.rb:50:in `find_each'\r\n  from app/models/sensor.rb:152:in `retrieve_all'\r\n  from app/jobs/sensors_reading_job.rb:5:in `perform'\r\n  from active_job/execution.rb:32:in `block in perform_now'\r\n```\r\n### How to reproduce"}}
{"actor":{"display_login":"burisu"}}