{"action":"created","issue":{"url":"https://api.github.com/repos/Alfresco/alfresco-js-api/issues/135","repository_url":"https://api.github.com/repos/Alfresco/alfresco-js-api","labels_url":"https://api.github.com/repos/Alfresco/alfresco-js-api/issues/135/labels{/name}","comments_url":"https://api.github.com/repos/Alfresco/alfresco-js-api/issues/135/comments","events_url":"https://api.github.com/repos/Alfresco/alfresco-js-api/issues/135/events","html_url":"https://github.com/Alfresco/alfresco-js-api/issues/135","id":196066291,"number":135,"title":"Can't upload PDF","user":{"login":"sredrouthu","id":23399923,"avatar_url":"https://avatars.githubusercontent.com/u/23399923?v=3","gravatar_id":"","url":"https://api.github.com/users/sredrouthu","html_url":"https://github.com/sredrouthu","followers_url":"https://api.github.com/users/sredrouthu/followers","following_url":"https://api.github.com/users/sredrouthu/following{/other_user}","gists_url":"https://api.github.com/users/sredrouthu/gists{/gist_id}","starred_url":"https://api.github.com/users/sredrouthu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sredrouthu/subscriptions","organizations_url":"https://api.github.com/users/sredrouthu/orgs","repos_url":"https://api.github.com/users/sredrouthu/repos","events_url":"https://api.github.com/users/sredrouthu/events{/privacy}","received_events_url":"https://api.github.com/users/sredrouthu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-16T14:03:54Z","updated_at":"2016-12-16T16:47:39Z","closed_at":null,"body":"<!--\r\nPLEASE FILL OUT THE FOLLOWING INFORMATION, THIS WILL HELP US TO RESOLVE YOUR PROBLEM FASTER.\r\n\r\nREMEMBER FOR SUPPORT REQUESTS YOU CAN ALSO ASK ON OUR GITTER CHAT:\r\nPlease ask before on our gitter channel https://gitter.im/Alfresco/alfresco-js-api\r\n-->\r\n\r\n**Type of issue:** PDF Upload\r\n\r\n**Current behavior:**\r\nI'm trying to upload a PDF, but getting an error as follows.\r\n\"Weird single-character line '+' found (in topic random) at stream() line 1082\"\r\nuploadFile(fileDefinition, relativePath, nodeId, nodeBody, opts)\r\n\r\n**Expected behavior:**\r\nPDF should be uploaded successfully. \r\n\r\n**Steps to reproduce the issue:**\r\nPlease try uploading a PDF file.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Alfresco/alfresco-js-api/issues/comments/267638087","html_url":"https://github.com/Alfresco/alfresco-js-api/issues/135#issuecomment-267638087","issue_url":"https://api.github.com/repos/Alfresco/alfresco-js-api/issues/135","id":267638087,"user":{"login":"eromano","id":1030050,"avatar_url":"https://avatars.githubusercontent.com/u/1030050?v=3","gravatar_id":"","url":"https://api.github.com/users/eromano","html_url":"https://github.com/eromano","followers_url":"https://api.github.com/users/eromano/followers","following_url":"https://api.github.com/users/eromano/following{/other_user}","gists_url":"https://api.github.com/users/eromano/gists{/gist_id}","starred_url":"https://api.github.com/users/eromano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eromano/subscriptions","organizations_url":"https://api.github.com/users/eromano/orgs","repos_url":"https://api.github.com/users/eromano/repos","events_url":"https://api.github.com/users/eromano/events{/privacy}","received_events_url":"https://api.github.com/users/eromano/received_events","type":"User","site_admin":false},"created_at":"2016-12-16T16:47:39Z","updated_at":"2016-12-16T16:47:39Z","body":"Hi @sredrouthu ,\r\nThe pdf uploading sholud work fine.\r\nBelow you can find an example app made with angular 2 that use the alfresco-js-api behind and I just test it with a PDF and it works fine.\r\nhttps://github.com/Alfresco/alfresco-ng2-components/tree/master/ng2-components/ng2-alfresco-upload\r\nIf you can provide more information maybe I can help you. You could provide also a snippet or your code maybe ."}}
{"actor":{"display_login":"eromano"}}