{"action":"created","issue":{"url":"https://api.github.com/repos/orientechnologies/orientdb/issues/6871","repository_url":"https://api.github.com/repos/orientechnologies/orientdb","labels_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/6871/labels{/name}","comments_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/6871/comments","events_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/6871/events","html_url":"https://github.com/orientechnologies/orientdb/issues/6871","id":186752724,"number":6871,"title":"ODocument.toMap() not copy all fields","user":{"login":"schernolyas","id":9314123,"avatar_url":"https://avatars.githubusercontent.com/u/9314123?v=3","gravatar_id":"","url":"https://api.github.com/users/schernolyas","html_url":"https://github.com/schernolyas","followers_url":"https://api.github.com/users/schernolyas/followers","following_url":"https://api.github.com/users/schernolyas/following{/other_user}","gists_url":"https://api.github.com/users/schernolyas/gists{/gist_id}","starred_url":"https://api.github.com/users/schernolyas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schernolyas/subscriptions","organizations_url":"https://api.github.com/users/schernolyas/orgs","repos_url":"https://api.github.com/users/schernolyas/repos","events_url":"https://api.github.com/users/schernolyas/events{/privacy}","received_events_url":"https://api.github.com/users/schernolyas/received_events","type":"User","site_admin":false},"labels":[{"id":21666880,"url":"https://api.github.com/repos/orientechnologies/orientdb/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":196363954,"url":"https://api.github.com/repos/orientechnologies/orientdb/labels/waiting%20reply","name":"waiting reply","color":"eb6420","default":false}],"state":"closed","locked":false,"assignee":{"login":"tglman","id":424369,"avatar_url":"https://avatars.githubusercontent.com/u/424369?v=3","gravatar_id":"","url":"https://api.github.com/users/tglman","html_url":"https://github.com/tglman","followers_url":"https://api.github.com/users/tglman/followers","following_url":"https://api.github.com/users/tglman/following{/other_user}","gists_url":"https://api.github.com/users/tglman/gists{/gist_id}","starred_url":"https://api.github.com/users/tglman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tglman/subscriptions","organizations_url":"https://api.github.com/users/tglman/orgs","repos_url":"https://api.github.com/users/tglman/repos","events_url":"https://api.github.com/users/tglman/events{/privacy}","received_events_url":"https://api.github.com/users/tglman/received_events","type":"User","site_admin":false},"assignees":[{"login":"tglman","id":424369,"avatar_url":"https://avatars.githubusercontent.com/u/424369?v=3","gravatar_id":"","url":"https://api.github.com/users/tglman","html_url":"https://github.com/tglman","followers_url":"https://api.github.com/users/tglman/followers","following_url":"https://api.github.com/users/tglman/following{/other_user}","gists_url":"https://api.github.com/users/tglman/gists{/gist_id}","starred_url":"https://api.github.com/users/tglman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tglman/subscriptions","organizations_url":"https://api.github.com/users/tglman/orgs","repos_url":"https://api.github.com/users/tglman/repos","events_url":"https://api.github.com/users/tglman/events{/privacy}","received_events_url":"https://api.github.com/users/tglman/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2016-11-02T09:41:41Z","updated_at":"2016-11-04T14:26:45Z","closed_at":"2016-11-04T14:26:45Z","body":"## OrientDB Version, operating system, or hardware.\n- v2.0 SNAPSHOT[ ] - .18[ ] .17[ ] .16[ ] .15[ ] .14[ ] .13[ ] .12[ ] .11[ ] .10[ ] .9[ ] .8[ ] .7[ ] .6[ ] .5[ ] .4[ ] .3[ ] .2[ ] .1[ ] .0[ ]\n- v2.1 SNAPSHOT[ ] - .16[ ] .15[ ] .14[ ] .13[ ] .12[ ] .11[ ] .10[ ] .9[ ] .8[ ] .7[ ] .6[ ] .5[ ] .4[ ] .3[ ] .2[ ] .1[ ] .0[ ]\n- v2.2 SNAPSHOT[ ] - .rc1[ ] .beta2[ ] .beta1[ ]12\n\n## Operating System\n- [ ] Linux\n- [ ] MacOSX\n- [ x] Windows\n- [ ] Other Unix\n- [ ] Other, name? \n\n## Expected behavior and actual behavior\n\n```\naa [main] 12:34:51,599 DEBUG org.hibernate.ogm.datastore.orientdb.dialect.impl.ODocumentListTupleIterator: tuple json: {\"@type\":\"d\",\"@rid\":\"#25:0\",\"@ve\nrsion\":1,\"@class\":\"Customer\",\"bKey\":1,\"createdDate\":\"2016-11-02 00:00:00\",\"blocked\":\"N\",\"name\":\"test\",\"status\":\"VIP\",\"@fieldTypes\":\"bKey=l,createdDate=\nt\"}\naa [main] 12:34:51,599 DEBUG org.hibernate.ogm.datastore.orientdb.dialect.impl.ODocumentListTupleIterator: tuple map: {bKey=1, createdDate=Wed Nov 02 0\n0:00:00 MSK 2016, @rid=#25:0, @class=Customer, blocked=N, name=test, status=VIP}\n```\n\nMethod toJSON copy to JSON all fields, but method toMap not copy '@version' field\n## Steps to reproduce the problem\n"},"comment":{"url":"https://api.github.com/repos/orientechnologies/orientdb/issues/comments/258445460","html_url":"https://github.com/orientechnologies/orientdb/issues/6871#issuecomment-258445460","issue_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/6871","id":258445460,"user":{"login":"schernolyas","id":9314123,"avatar_url":"https://avatars.githubusercontent.com/u/9314123?v=3","gravatar_id":"","url":"https://api.github.com/users/schernolyas","html_url":"https://github.com/schernolyas","followers_url":"https://api.github.com/users/schernolyas/followers","following_url":"https://api.github.com/users/schernolyas/following{/other_user}","gists_url":"https://api.github.com/users/schernolyas/gists{/gist_id}","starred_url":"https://api.github.com/users/schernolyas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schernolyas/subscriptions","organizations_url":"https://api.github.com/users/schernolyas/orgs","repos_url":"https://api.github.com/users/schernolyas/repos","events_url":"https://api.github.com/users/schernolyas/events{/privacy}","received_events_url":"https://api.github.com/users/schernolyas/received_events","type":"User","site_admin":false},"created_at":"2016-11-04T14:26:45Z","updated_at":"2016-11-04T14:26:45Z","body":"Hi @tglman !\r\n\r\nI think that it is not logical .... But if it is feature ... "}}
{"actor":{"display_login":"schernolyas"}}