{"action":"created","issue":{"url":"https://api.github.com/repos/VeliovGroup/Meteor-Files/issues/360","repository_url":"https://api.github.com/repos/VeliovGroup/Meteor-Files","labels_url":"https://api.github.com/repos/VeliovGroup/Meteor-Files/issues/360/labels{/name}","comments_url":"https://api.github.com/repos/VeliovGroup/Meteor-Files/issues/360/comments","events_url":"https://api.github.com/repos/VeliovGroup/Meteor-Files/issues/360/events","html_url":"https://github.com/VeliovGroup/Meteor-Files/issues/360","id":208693571,"number":360,"title":"Edge this.userId set to null","user":{"login":"Kaczkazniszczenia","id":25872661,"avatar_url":"https://avatars1.githubusercontent.com/u/25872661?v=3","gravatar_id":"","url":"https://api.github.com/users/Kaczkazniszczenia","html_url":"https://github.com/Kaczkazniszczenia","followers_url":"https://api.github.com/users/Kaczkazniszczenia/followers","following_url":"https://api.github.com/users/Kaczkazniszczenia/following{/other_user}","gists_url":"https://api.github.com/users/Kaczkazniszczenia/gists{/gist_id}","starred_url":"https://api.github.com/users/Kaczkazniszczenia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kaczkazniszczenia/subscriptions","organizations_url":"https://api.github.com/users/Kaczkazniszczenia/orgs","repos_url":"https://api.github.com/users/Kaczkazniszczenia/repos","events_url":"https://api.github.com/users/Kaczkazniszczenia/events{/privacy}","received_events_url":"https://api.github.com/users/Kaczkazniszczenia/received_events","type":"User","site_admin":false},"labels":[{"id":200431640,"url":"https://api.github.com/repos/VeliovGroup/Meteor-Files/labels/bug","name":"bug","color":"fc2929","default":true},{"id":499417584,"url":"https://api.github.com/repos/VeliovGroup/Meteor-Files/labels/MS%20Explorer","name":"MS Explorer","color":"00bbf1","default":false},{"id":403111588,"url":"https://api.github.com/repos/VeliovGroup/Meteor-Files/labels/MS%20Windows","name":"MS Windows","color":"0052cc","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-02-19T04:30:39Z","updated_at":"2017-03-01T14:23:33Z","closed_at":"2017-03-01T14:23:33Z","body":"While using Edge 38.14393.0.0 we are facing an issue where context of options \"protect\" and \"downloadCallback\" has this.userId === null and this.user() === null.\r\n\r\n## Demo code\r\nWe have created a small demo app showing an issue: https://bitbucket.org/CallMeMB/files-test \r\n\r\nDemo will return false from downloadCallback if userId is not set\r\n\r\n## How to reproduce:\r\n1. Start demo app\r\n2. Load application in Edge\r\n3. Login into user account\r\n4. Download file (it will be successfull)\r\n5. Reload the page (ctrl+r)\r\n6. Download file (it will fail)\r\n\r\n## Expected result:\r\nFile will always be downloaded\r\n\r\n## Versions:\r\nMeteor: 1.4.2.7\r\n\r\n### Packages: \r\n- ostrio:files@1.7.11\r\n- ostrio:cookies@2.1.3\r\n- accounts-base@1.2.14\r\n- accounts-password@1.3.4\r\n\r\n### Npm packages:\r\n- gridfs-stream 1.1.1\r\n\r\n### Server OS:\r\nWindows 10 Professional (development machine, localhost)\r\nLinux (docker container, test/production env)"},"comment":{"url":"https://api.github.com/repos/VeliovGroup/Meteor-Files/issues/comments/283352895","html_url":"https://github.com/VeliovGroup/Meteor-Files/issues/360#issuecomment-283352895","issue_url":"https://api.github.com/repos/VeliovGroup/Meteor-Files/issues/360","id":283352895,"user":{"login":"dr-dimitru","id":1686778,"avatar_url":"https://avatars3.githubusercontent.com/u/1686778?v=3","gravatar_id":"","url":"https://api.github.com/users/dr-dimitru","html_url":"https://github.com/dr-dimitru","followers_url":"https://api.github.com/users/dr-dimitru/followers","following_url":"https://api.github.com/users/dr-dimitru/following{/other_user}","gists_url":"https://api.github.com/users/dr-dimitru/gists{/gist_id}","starred_url":"https://api.github.com/users/dr-dimitru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dr-dimitru/subscriptions","organizations_url":"https://api.github.com/users/dr-dimitru/orgs","repos_url":"https://api.github.com/users/dr-dimitru/repos","events_url":"https://api.github.com/users/dr-dimitru/events{/privacy}","received_events_url":"https://api.github.com/users/dr-dimitru/received_events","type":"User","site_admin":false},"created_at":"2017-03-01T14:23:33Z","updated_at":"2017-03-01T14:23:33Z","body":"PR is merged and package is published as [`v1.7.12`](https://github.com/VeliovGroup/Meteor-Files/releases/tag/1.7.12), thank you for contribution"}}
{"actor":{"display_login":"dr-dimitru"}}