{"action":"created","issue":{"url":"https://api.github.com/repos/kangax/fabric.js/issues/2285","labels_url":"https://api.github.com/repos/kangax/fabric.js/issues/2285/labels{/name}","comments_url":"https://api.github.com/repos/kangax/fabric.js/issues/2285/comments","events_url":"https://api.github.com/repos/kangax/fabric.js/issues/2285/events","html_url":"https://github.com/kangax/fabric.js/issues/2285","id":87791042,"number":2285,"title":"SVG id attribut is missing","user":{"login":"dgodard","id":8191437,"avatar_url":"https://avatars.githubusercontent.com/u/8191437?v=3","gravatar_id":"","url":"https://api.github.com/users/dgodard","html_url":"https://github.com/dgodard","followers_url":"https://api.github.com/users/dgodard/followers","following_url":"https://api.github.com/users/dgodard/following{/other_user}","gists_url":"https://api.github.com/users/dgodard/gists{/gist_id}","starred_url":"https://api.github.com/users/dgodard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dgodard/subscriptions","organizations_url":"https://api.github.com/users/dgodard/orgs","repos_url":"https://api.github.com/users/dgodard/repos","events_url":"https://api.github.com/users/dgodard/events{/privacy}","received_events_url":"https://api.github.com/users/dgodard/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-12T17:09:02Z","updated_at":"2015-06-12T17:13:20Z","closed_at":null,"body":"I want to manage my object imported from SVG by their ID.\r\nBut, the 'id' attribute is missing in FabricsJS.\r\n\r\nThe SVG 'id' attribute is removed in parseUseDirectives function  by the line : el2.removeAttribute('id');\r\n\r\n\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/21707481-svg-id-attribut-is-missing?utm_campaign=plugin&utm_content=tracker%2F23217&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F23217&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/kangax/fabric.js/issues/comments/111560985","html_url":"https://github.com/kangax/fabric.js/issues/2285#issuecomment-111560985","issue_url":"https://api.github.com/repos/kangax/fabric.js/issues/2285","id":111560985,"user":{"login":"asturur","id":1194048,"avatar_url":"https://avatars.githubusercontent.com/u/1194048?v=3","gravatar_id":"","url":"https://api.github.com/users/asturur","html_url":"https://github.com/asturur","followers_url":"https://api.github.com/users/asturur/followers","following_url":"https://api.github.com/users/asturur/following{/other_user}","gists_url":"https://api.github.com/users/asturur/gists{/gist_id}","starred_url":"https://api.github.com/users/asturur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/asturur/subscriptions","organizations_url":"https://api.github.com/users/asturur/orgs","repos_url":"https://api.github.com/users/asturur/repos","events_url":"https://api.github.com/users/asturur/events{/privacy}","received_events_url":"https://api.github.com/users/asturur/received_events","type":"User","site_admin":false},"created_at":"2015-06-12T17:13:20Z","updated_at":"2015-06-12T17:13:20Z","body":"that line should remove id attribute from cloned object that was referenced by use tag. it is correct like that.\n\nthe id attribute is not parsed. please check the parsedAttribute array and add \"id\" there.\n\ncheck any object fromElement method to see the corret spelling of this array name.\n"}}