{"action":"created","comment":{"url":"https://api.github.com/repos/JabRef/jabref/pulls/comments/82858935","pull_request_review_id":3736502,"id":82858935,"diff_hunk":"@@ -62,6 +63,50 @@ public void testSerialization() throws IOException {\n     }\n \n     @Test\n+    public void roundTripTestOtherType() throws IOException, URISyntaxException {\n+        String bibtexEntry = \"@Other{test,\" + OS.NEWLINE +\n+                \"  Comment                  = {testentry}\" + OS.NEWLINE +\n+                \"}\";\n+\n+        // read in bibtex string\n+        ParserResult result = BibtexParser.parse(new StringReader(bibtexEntry), importFormatPreferences);","path":"src/test/java/net/sf/jabref/logic/bibtex/BibEntryWriterTest.java","position":18,"original_position":18,"commit_id":"e4a21db72419dfbbabee34ccb9d678106cd875bc","original_commit_id":"e4a21db72419dfbbabee34ccb9d678106cd875bc","user":{"login":"oscargus","id":8114497,"avatar_url":"https://avatars.githubusercontent.com/u/8114497?v=3","gravatar_id":"","url":"https://api.github.com/users/oscargus","html_url":"https://github.com/oscargus","followers_url":"https://api.github.com/users/oscargus/followers","following_url":"https://api.github.com/users/oscargus/following{/other_user}","gists_url":"https://api.github.com/users/oscargus/gists{/gist_id}","starred_url":"https://api.github.com/users/oscargus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oscargus/subscriptions","organizations_url":"https://api.github.com/users/oscargus/orgs","repos_url":"https://api.github.com/users/oscargus/repos","events_url":"https://api.github.com/users/oscargus/events{/privacy}","received_events_url":"https://api.github.com/users/oscargus/received_events","type":"User","site_admin":false},"body":"Please use `new BibtexParser(importFormatPreferences).parse(new StringReader(bibtexEntry))` (or `Collection<BibEntry> entries = new BibtexParser(importFormatPreferences).parseEntries(bibtexEntry);`.","created_at":"2016-10-11T18:31:47Z","updated_at":"2016-10-11T18:31:47Z","html_url":"https://github.com/JabRef/jabref/pull/2152#discussion_r82858935","pull_request_url":"https://api.github.com/repos/JabRef/jabref/pulls/2152","_links":{"self":{"href":"https://api.github.com/repos/JabRef/jabref/pulls/comments/82858935"},"html":{"href":"https://github.com/JabRef/jabref/pull/2152#discussion_r82858935"},"pull_request":{"href":"https://api.github.com/repos/JabRef/jabref/pulls/2152"}}},"pull_request":{"url":"https://api.github.com/repos/JabRef/jabref/pulls/2152","id":88658204,"html_url":"https://github.com/JabRef/jabref/pull/2152","diff_url":"https://github.com/JabRef/jabref/pull/2152.diff","patch_url":"https://github.com/JabRef/jabref/pull/2152.patch","issue_url":"https://api.github.com/repos/JabRef/jabref/issues/2152","number":2152,"state":"open","locked":false,"title":"Add test case for other and unknown type","user":{"login":"tschechlovdev","id":15339876,"avatar_url":"https://avatars.githubusercontent.com/u/15339876?v=3","gravatar_id":"","url":"https://api.github.com/users/tschechlovdev","html_url":"https://github.com/tschechlovdev","followers_url":"https://api.github.com/users/tschechlovdev/followers","following_url":"https://api.github.com/users/tschechlovdev/following{/other_user}","gists_url":"https://api.github.com/users/tschechlovdev/gists{/gist_id}","starred_url":"https://api.github.com/users/tschechlovdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tschechlovdev/subscriptions","organizations_url":"https://api.github.com/users/tschechlovdev/orgs","repos_url":"https://api.github.com/users/tschechlovdev/repos","events_url":"https://api.github.com/users/tschechlovdev/events{/privacy}","received_events_url":"https://api.github.com/users/tschechlovdev/received_events","type":"User","site_admin":false},"body":"Regarding: [#29] (https://github.com/koppor/jabref/issues/29) \r\nI've added a test case for reading and writing a file with other and unknwon type.\r\n\r\n","created_at":"2016-10-10T12:59:30Z","updated_at":"2016-10-11T18:31:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"55965d2b8586e2a7a7e6b385d156e9c84a37daf6","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/JabRef/jabref/pulls/2152/commits","review_comments_url":"https://api.github.com/repos/JabRef/jabref/pulls/2152/comments","review_comment_url":"https://api.github.com/repos/JabRef/jabref/pulls/comments{/number}","comments_url":"https://api.github.com/repos/JabRef/jabref/issues/2152/comments","statuses_url":"https://api.github.com/repos/JabRef/jabref/statuses/e4a21db72419dfbbabee34ccb9d678106cd875bc","head":{"label":"tschechlovdev:issue29","ref":"issue29","sha":"e4a21db72419dfbbabee34ccb9d678106cd875bc","user":{"login":"tschechlovdev","id":15339876,"avatar_url":"https://avatars.githubusercontent.com/u/15339876?v=3","gravatar_id":"","url":"https://api.github.com/users/tschechlovdev","html_url":"https://github.com/tschechlovdev","followers_url":"https://api.github.com/users/tschechlovdev/followers","following_url":"https://api.github.com/users/tschechlovdev/following{/other_user}","gists_url":"https://api.github.com/users/tschechlovdev/gists{/gist_id}","starred_url":"https://api.github.com/users/tschechlovdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tschechlovdev/subscriptions","organizations_url":"https://api.github.com/users/tschechlovdev/orgs","repos_url":"https://api.github.com/users/tschechlovdev/repos","events_url":"https://api.github.com/users/tschechlovdev/events{/privacy}","received_events_url":"https://api.github.com/users/tschechlovdev/received_events","type":"User","site_admin":false},"repo":{"id":46298017,"name":"jabref","full_name":"tschechlovdev/jabref","owner":{"login":"tschechlovdev","id":15339876,"avatar_url":"https://avatars.githubusercontent.com/u/15339876?v=3","gravatar_id":"","url":"https://api.github.com/users/tschechlovdev","html_url":"https://github.com/tschechlovdev","followers_url":"https://api.github.com/users/tschechlovdev/followers","following_url":"https://api.github.com/users/tschechlovdev/following{/other_user}","gists_url":"https://api.github.com/users/tschechlovdev/gists{/gist_id}","starred_url":"https://api.github.com/users/tschechlovdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tschechlovdev/subscriptions","organizations_url":"https://api.github.com/users/tschechlovdev/orgs","repos_url":"https://api.github.com/users/tschechlovdev/repos","events_url":"https://api.github.com/users/tschechlovdev/events{/privacy}","received_events_url":"https://api.github.com/users/tschechlovdev/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tschechlovdev/jabref","description":"Graphical Java application for managing bibtex (.bib) databases","fork":true,"url":"https://api.github.com/repos/tschechlovdev/jabref","forks_url":"https://api.github.com/repos/tschechlovdev/jabref/forks","keys_url":"https://api.github.com/repos/tschechlovdev/jabref/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tschechlovdev/jabref/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tschechlovdev/jabref/teams","hooks_url":"https://api.github.com/repos/tschechlovdev/jabref/hooks","issue_events_url":"https://api.github.com/repos/tschechlovdev/jabref/issues/events{/number}","events_url":"https://api.github.com/repos/tschechlovdev/jabref/events","assignees_url":"https://api.github.com/repos/tschechlovdev/jabref/assignees{/user}","branches_url":"https://api.github.com/repos/tschechlovdev/jabref/branches{/branch}","tags_url":"https://api.github.com/repos/tschechlovdev/jabref/tags","blobs_url":"https://api.github.com/repos/tschechlovdev/jabref/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tschechlovdev/jabref/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tschechlovdev/jabref/git/refs{/sha}","trees_url":"https://api.github.com/repos/tschechlovdev/jabref/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tschechlovdev/jabref/statuses/{sha}","languages_url":"https://api.github.com/repos/tschechlovdev/jabref/languages","stargazers_url":"https://api.github.com/repos/tschechlovdev/jabref/stargazers","contributors_url":"https://api.github.com/repos/tschechlovdev/jabref/contributors","subscribers_url":"https://api.github.com/repos/tschechlovdev/jabref/subscribers","subscription_url":"https://api.github.com/repos/tschechlovdev/jabref/subscription","commits_url":"https://api.github.com/repos/tschechlovdev/jabref/commits{/sha}","git_commits_url":"https://api.github.com/repos/tschechlovdev/jabref/git/commits{/sha}","comments_url":"https://api.github.com/repos/tschechlovdev/jabref/comments{/number}","issue_comment_url":"https://api.github.com/repos/tschechlovdev/jabref/issues/comments{/number}","contents_url":"https://api.github.com/repos/tschechlovdev/jabref/contents/{+path}","compare_url":"https://api.github.com/repos/tschechlovdev/jabref/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tschechlovdev/jabref/merges","archive_url":"https://api.github.com/repos/tschechlovdev/jabref/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tschechlovdev/jabref/downloads","issues_url":"https://api.github.com/repos/tschechlovdev/jabref/issues{/number}","pulls_url":"https://api.github.com/repos/tschechlovdev/jabref/pulls{/number}","milestones_url":"https://api.github.com/repos/tschechlovdev/jabref/milestones{/number}","notifications_url":"https://api.github.com/repos/tschechlovdev/jabref/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tschechlovdev/jabref/labels{/name}","releases_url":"https://api.github.com/repos/tschechlovdev/jabref/releases{/id}","deployments_url":"https://api.github.com/repos/tschechlovdev/jabref/deployments","created_at":"2015-11-16T19:45:21Z","updated_at":"2016-03-10T11:41:18Z","pushed_at":"2016-10-11T09:38:53Z","git_url":"git://github.com/tschechlovdev/jabref.git","ssh_url":"git@github.com:tschechlovdev/jabref.git","clone_url":"https://github.com/tschechlovdev/jabref.git","svn_url":"https://github.com/tschechlovdev/jabref","homepage":"http://jabref.sourceforge.net/","size":94776,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"JabRef:master","ref":"master","sha":"2f3c47fde08ded07a4c6ebc7f1eca9029b3cb41c","user":{"login":"JabRef","id":3914421,"avatar_url":"https://avatars.githubusercontent.com/u/3914421?v=3","gravatar_id":"","url":"https://api.github.com/users/JabRef","html_url":"https://github.com/JabRef","followers_url":"https://api.github.com/users/JabRef/followers","following_url":"https://api.github.com/users/JabRef/following{/other_user}","gists_url":"https://api.github.com/users/JabRef/gists{/gist_id}","starred_url":"https://api.github.com/users/JabRef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JabRef/subscriptions","organizations_url":"https://api.github.com/users/JabRef/orgs","repos_url":"https://api.github.com/users/JabRef/repos","events_url":"https://api.github.com/users/JabRef/events{/privacy}","received_events_url":"https://api.github.com/users/JabRef/received_events","type":"Organization","site_admin":false},"repo":{"id":17634071,"name":"jabref","full_name":"JabRef/jabref","owner":{"login":"JabRef","id":3914421,"avatar_url":"https://avatars.githubusercontent.com/u/3914421?v=3","gravatar_id":"","url":"https://api.github.com/users/JabRef","html_url":"https://github.com/JabRef","followers_url":"https://api.github.com/users/JabRef/followers","following_url":"https://api.github.com/users/JabRef/following{/other_user}","gists_url":"https://api.github.com/users/JabRef/gists{/gist_id}","starred_url":"https://api.github.com/users/JabRef/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JabRef/subscriptions","organizations_url":"https://api.github.com/users/JabRef/orgs","repos_url":"https://api.github.com/users/JabRef/repos","events_url":"https://api.github.com/users/JabRef/events{/privacy}","received_events_url":"https://api.github.com/users/JabRef/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/JabRef/jabref","description":"Graphical Java application for managing BibTeX and BibLaTeX (.bib) databases","fork":false,"url":"https://api.github.com/repos/JabRef/jabref","forks_url":"https://api.github.com/repos/JabRef/jabref/forks","keys_url":"https://api.github.com/repos/JabRef/jabref/keys{/key_id}","collaborators_url":"https://api.github.com/repos/JabRef/jabref/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/JabRef/jabref/teams","hooks_url":"https://api.github.com/repos/JabRef/jabref/hooks","issue_events_url":"https://api.github.com/repos/JabRef/jabref/issues/events{/number}","events_url":"https://api.github.com/repos/JabRef/jabref/events","assignees_url":"https://api.github.com/repos/JabRef/jabref/assignees{/user}","branches_url":"https://api.github.com/repos/JabRef/jabref/branches{/branch}","tags_url":"https://api.github.com/repos/JabRef/jabref/tags","blobs_url":"https://api.github.com/repos/JabRef/jabref/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/JabRef/jabref/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/JabRef/jabref/git/refs{/sha}","trees_url":"https://api.github.com/repos/JabRef/jabref/git/trees{/sha}","statuses_url":"https://api.github.com/repos/JabRef/jabref/statuses/{sha}","languages_url":"https://api.github.com/repos/JabRef/jabref/languages","stargazers_url":"https://api.github.com/repos/JabRef/jabref/stargazers","contributors_url":"https://api.github.com/repos/JabRef/jabref/contributors","subscribers_url":"https://api.github.com/repos/JabRef/jabref/subscribers","subscription_url":"https://api.github.com/repos/JabRef/jabref/subscription","commits_url":"https://api.github.com/repos/JabRef/jabref/commits{/sha}","git_commits_url":"https://api.github.com/repos/JabRef/jabref/git/commits{/sha}","comments_url":"https://api.github.com/repos/JabRef/jabref/comments{/number}","issue_comment_url":"https://api.github.com/repos/JabRef/jabref/issues/comments{/number}","contents_url":"https://api.github.com/repos/JabRef/jabref/contents/{+path}","compare_url":"https://api.github.com/repos/JabRef/jabref/compare/{base}...{head}","merges_url":"https://api.github.com/repos/JabRef/jabref/merges","archive_url":"https://api.github.com/repos/JabRef/jabref/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/JabRef/jabref/downloads","issues_url":"https://api.github.com/repos/JabRef/jabref/issues{/number}","pulls_url":"https://api.github.com/repos/JabRef/jabref/pulls{/number}","milestones_url":"https://api.github.com/repos/JabRef/jabref/milestones{/number}","notifications_url":"https://api.github.com/repos/JabRef/jabref/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/JabRef/jabref/labels{/name}","releases_url":"https://api.github.com/repos/JabRef/jabref/releases{/id}","deployments_url":"https://api.github.com/repos/JabRef/jabref/deployments","created_at":"2014-03-11T14:48:42Z","updated_at":"2016-10-09T16:02:48Z","pushed_at":"2016-10-11T18:08:00Z","git_url":"git://github.com/JabRef/jabref.git","ssh_url":"git@github.com:JabRef/jabref.git","clone_url":"https://github.com/JabRef/jabref.git","svn_url":"https://github.com/JabRef/jabref","homepage":"http://www.jabref.org/","size":119413,"stargazers_count":359,"watchers_count":359,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":262,"mirror_url":null,"open_issues_count":199,"forks":262,"open_issues":199,"watchers":359,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/JabRef/jabref/pulls/2152"},"html":{"href":"https://github.com/JabRef/jabref/pull/2152"},"issue":{"href":"https://api.github.com/repos/JabRef/jabref/issues/2152"},"comments":{"href":"https://api.github.com/repos/JabRef/jabref/issues/2152/comments"},"review_comments":{"href":"https://api.github.com/repos/JabRef/jabref/pulls/2152/comments"},"review_comment":{"href":"https://api.github.com/repos/JabRef/jabref/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/JabRef/jabref/pulls/2152/commits"},"statuses":{"href":"https://api.github.com/repos/JabRef/jabref/statuses/e4a21db72419dfbbabee34ccb9d678106cd875bc"}}}}
{"actor":{"display_login":"oscargus"}}