{"action":"created","issue":{"url":"https://api.github.com/repos/orientechnologies/orientdb/issues/3601","labels_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/3601/labels{/name}","comments_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/3601/comments","events_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/3601/events","html_url":"https://github.com/orientechnologies/orientdb/issues/3601","id":57846940,"number":3601,"title":"Embeddedset contains document duplicates","user":{"login":"selmeci","id":224795,"avatar_url":"https://avatars.githubusercontent.com/u/224795?v=3","gravatar_id":"","url":"https://api.github.com/users/selmeci","html_url":"https://github.com/selmeci","followers_url":"https://api.github.com/users/selmeci/followers","following_url":"https://api.github.com/users/selmeci/following{/other_user}","gists_url":"https://api.github.com/users/selmeci/gists{/gist_id}","starred_url":"https://api.github.com/users/selmeci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/selmeci/subscriptions","organizations_url":"https://api.github.com/users/selmeci/orgs","repos_url":"https://api.github.com/users/selmeci/repos","events_url":"https://api.github.com/users/selmeci/events{/privacy}","received_events_url":"https://api.github.com/users/selmeci/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-16T20:16:10Z","updated_at":"2015-02-16T20:27:48Z","closed_at":null,"body":"Situation:\r\nOrientDB version : 2.0.2\r\n\r\n```sql\r\ncreate class Trash abstract\r\ncreate property Trash.name string\r\n```\r\n\r\n```sql\r\ncreate class Container extends V\r\ncreate property Container.title string\r\ncreate property Container.content embeddedset Trash\r\ninsert into Container set title=\"1\"\r\n```\r\n\r\n```sql\r\nupdate Container add content= [{\"@type\":\"d\", \"@class\":\"Trash\", \"title\":\"One\"}] where title=\"1\"\r\nupdate Container add content= [{\"@type\":\"d\", \"@class\":\"Trash\", \"title\":\"One\"}] where title=\"1\"\r\n```\r\n\r\nResult:\r\n```json\r\n{\r\n    \"title\": \"1\",\r\n    \"content\": [\r\n        {\r\n            \"@type\": \"document\",\r\n            \"@version\": 0,\r\n            \"@class\": \"Trash\",\r\n            \"title\": \"One\"\r\n        },\r\n        {\r\n            \"@type\": \"d\",\r\n            \"@version\": 0,\r\n            \"@class\": \"Trash\",\r\n            \"title\": \"One\"\r\n        }\r\n    ]\r\n}\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/orientechnologies/orientdb/issues/comments/74567706","html_url":"https://github.com/orientechnologies/orientdb/issues/3601#issuecomment-74567706","issue_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/3601","id":74567706,"user":{"login":"phpnode","id":363611,"avatar_url":"https://avatars.githubusercontent.com/u/363611?v=3","gravatar_id":"","url":"https://api.github.com/users/phpnode","html_url":"https://github.com/phpnode","followers_url":"https://api.github.com/users/phpnode/followers","following_url":"https://api.github.com/users/phpnode/following{/other_user}","gists_url":"https://api.github.com/users/phpnode/gists{/gist_id}","starred_url":"https://api.github.com/users/phpnode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phpnode/subscriptions","organizations_url":"https://api.github.com/users/phpnode/orgs","repos_url":"https://api.github.com/users/phpnode/repos","events_url":"https://api.github.com/users/phpnode/events{/privacy}","received_events_url":"https://api.github.com/users/phpnode/received_events","type":"User","site_admin":false},"created_at":"2015-02-16T20:27:48Z","updated_at":"2015-02-16T20:27:48Z","body":"the thing is, those aren't duplicates, they're documents that happen to have identical contents."}}