{"action":"opened","issue":{"url":"https://api.github.com/repos/pencilblue/pencilblue/issues/1110","repository_url":"https://api.github.com/repos/pencilblue/pencilblue","labels_url":"https://api.github.com/repos/pencilblue/pencilblue/issues/1110/labels{/name}","comments_url":"https://api.github.com/repos/pencilblue/pencilblue/issues/1110/comments","events_url":"https://api.github.com/repos/pencilblue/pencilblue/issues/1110/events","html_url":"https://github.com/pencilblue/pencilblue/issues/1110","id":167843039,"number":1110,"title":"Error 500 in draft article preview","user":{"login":"ceballos59","id":17497794,"avatar_url":"https://avatars.githubusercontent.com/u/17497794?v=3","gravatar_id":"","url":"https://api.github.com/users/ceballos59","html_url":"https://github.com/ceballos59","followers_url":"https://api.github.com/users/ceballos59/followers","following_url":"https://api.github.com/users/ceballos59/following{/other_user}","gists_url":"https://api.github.com/users/ceballos59/gists{/gist_id}","starred_url":"https://api.github.com/users/ceballos59/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ceballos59/subscriptions","organizations_url":"https://api.github.com/users/ceballos59/orgs","repos_url":"https://api.github.com/users/ceballos59/repos","events_url":"https://api.github.com/users/ceballos59/events{/privacy}","received_events_url":"https://api.github.com/users/ceballos59/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-27T12:36:47Z","updated_at":"2016-07-27T12:36:47Z","closed_at":null,"body":"**Description:**\r\n\r\nError 500\r\nReferenceError: self is not defined\r\n    at Preview.IndexModule.Index.initSync (D:\\meanproject\\pencilblue\\plugins\\pencilblue\\controllers\\index.js:42:64)\r\n    at Preview.BaseControllerModule.BaseController.init (D:\\meanproject\\pencilblue\\controllers\\base_controller.js:228:14)\r\n    at D:\\meanproject\\pencilblue\\include\\http\\request_handler.js:1095:39\r\n    at _combinedTickCallback (internal/process/next_tick.js:67:7)\r\n    at process._tickDomainCallback (internal/process/next_tick.js:122:9)\r\n\r\n**Steps to Reproduce:**\r\n\r\nEntry a article and save draft and then preview article.\r\n\r\n**Configuration Details:** \r\n    standard downloaded \r\n\r\n\r\n**Log Output:**\r\n\r\n2016-07-27T12:27:59.490Z - error: [1] RequestHandler: An error occurred during c\r\nontroller execution. URL=[GET:/preview/article/5798a8cc69edc7f009e7b54b] ROUTE={\r\n\"path\":\"preview/:type/:id\",\"pattern\":\"^/preview/[^/]+/[^/]+[/]{0,1}$\",\"path_vars\r\n\":{\"type\":2,\"id\":3},\"expression\":{},\"themes\":{\"global\":{\"size\":1,\"pencilblue\":{\"\r\nGET\":{\"method\":\"GET\",\"path\":\"/preview/:type/:id\",\"access_level\":1,\"auth_required\r\n\":true,\"inactive_site_access\":true,\"content_type\":\"text/html\"}}}}}\r\nReferenceError: self is not defined\r\n    at Preview.IndexModule.Index.initSync (D:\\meanproject\\pencilblue\\plugins\\pen\r\ncilblue\\controllers\\index.js:42:64)\r\n    at Preview.BaseControllerModule.BaseController.init (D:\\meanproject\\pencilbl\r\nue\\controllers\\base_controller.js:228:14)\r\n    at D:\\meanproject\\pencilblue\\include\\http\\request_handler.js:1095:39\r\n    at _combinedTickCallback (internal/process/next_tick.js:67:7)\r\n    at process._tickDomainCallback (internal/process/next_tick.js:122:9)\r\n\r\nPencilBlue Version: v.0.6.0\r\n\r\nNode.js Version: v5.10.1\r\n\r\nMongoDb Versión: v3.2.4\r\n\r\n\r\n\r\n"}}
{"actor":{"display_login":"ceballos59"}}