{"action":"opened","issue":{"url":"https://api.github.com/repos/orientechnologies/orientdb/issues/6655","repository_url":"https://api.github.com/repos/orientechnologies/orientdb","labels_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/6655/labels{/name}","comments_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/6655/comments","events_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/6655/events","html_url":"https://github.com/orientechnologies/orientdb/issues/6655","id":175085610,"number":6655,"title":"custom field is saved wrong when I am writing string with backslash and apostrophe","user":{"login":"Ivanov-Yuriy","id":7984378,"avatar_url":"https://avatars.githubusercontent.com/u/7984378?v=3","gravatar_id":"","url":"https://api.github.com/users/Ivanov-Yuriy","html_url":"https://github.com/Ivanov-Yuriy","followers_url":"https://api.github.com/users/Ivanov-Yuriy/followers","following_url":"https://api.github.com/users/Ivanov-Yuriy/following{/other_user}","gists_url":"https://api.github.com/users/Ivanov-Yuriy/gists{/gist_id}","starred_url":"https://api.github.com/users/Ivanov-Yuriy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ivanov-Yuriy/subscriptions","organizations_url":"https://api.github.com/users/Ivanov-Yuriy/orgs","repos_url":"https://api.github.com/users/Ivanov-Yuriy/repos","events_url":"https://api.github.com/users/Ivanov-Yuriy/events{/privacy}","received_events_url":"https://api.github.com/users/Ivanov-Yuriy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-05T14:43:50Z","updated_at":"2016-09-05T14:43:50Z","closed_at":null,"body":"## OrientDB Version, operating system, or hardware.\r\n- v2.6.8\r\n\r\n## Operating System\r\n- [ ] Linux\r\n- [ ] MacOSX\r\n- [x] Windows\r\n- [ ] Other Unix\r\n- [ ] Other, name? \r\n\r\n## Expected behavior and actual behavior\r\nI expect string without backslash\r\nthe same behaviour when I save property's custom attributes\r\n\r\n## Steps to reproduce the problem\r\norientdb {db=testdb}> **create class test extends V**\r\nClass created successfully. Total classes in database now: 11.\r\n\r\norientdb {db=testdb}> **alter class test custom `cField`='a\\'sd'**\r\nClass updated successfully.\r\n\r\norientdb {db=testdb}> **select customFields.cField from ( select expand(classes) from metadata:schema) where name = 'test'**\r\n+----+------------+\r\n|#   |customFields|\r\n+----+------------+\r\n|0   |**a\\'sd**       |\r\n+----+------------+\r\n1 item(s) found. Query executed in 0.004 sec(s)."}}
{"actor":{"display_login":"Ivanov-Yuriy"}}