{"action":"created","issue":{"url":"https://api.github.com/repos/orientechnologies/orientdb/issues/5604","repository_url":"https://api.github.com/repos/orientechnologies/orientdb","labels_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/5604/labels{/name}","comments_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/5604/comments","events_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/5604/events","html_url":"https://github.com/orientechnologies/orientdb/issues/5604","id":127386825,"number":5604,"title":"updating property attribute LINKEDCLASS works wrong","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":"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":3,"created_at":"2016-01-19T08:00:26Z","updated_at":"2016-07-11T13:19:19Z","closed_at":"2016-03-17T06:57:13Z","body":"Hi, I use orient server 2.1.9\r\n\r\nI found mistake while updating attribute LINKEDCLASS\r\nwhen I insert NULL in the attribute, it won't change value\r\n\r\n**create class v1 extends V**\r\nClass created successfully. Total classes in database now: 11\r\n\r\n**create class v2 extends V**\r\nClass created successfully. Total classes in database now: 12\r\n\r\n**create property v1.prop LINK**\r\nProperty created successfully with id=1\r\n\r\n**alter property v1.prop LINKEDCLASS v2**\r\nProperty updated successfully\r\n\r\n**select expand(properties)  from ( select expand(classes) from metadata:schema) where name = 'v1'**\r\n----+------+----+----+--------+---------+--------+-------+------------+----+----+------+------------+-------+-----------\r\n\\#   |@CLASS|name|type|globalId|mandatory|readonly|notNull|defaultValue|min |max |regexp|customFields|collate|linkedClass\r\n----+------+----+----+--------+---------+--------+-------+------------+----+----+------+------------+-------+-----------\r\n0   |null  |prop|13  |20      |false    |false   |false  |null        |null|null|null  |null        |default|v2\r\n----+------+----+----+--------+---------+--------+-------+------------+----+----+------+------------+-------+-----------\r\n1 item(s) found. Query executed in 0.023 sec(s).\r\n\r\n**alter property v1.prop LINKEDCLASS NULL**\r\nProperty updated successfully\r\n\r\n**select expand(properties)  from ( select expand(classes) from metadata:schema) where name = 'v1'**\r\n----+------+----+----+--------+---------+--------+-------+------------+----+----+------+------------+-------+-----------\r\n\\#   |@CLASS|name|type|globalId|mandatory|readonly|notNull|defaultValue|min |max |regexp|customFields|collate|linkedClass\r\n----+------+----+----+--------+---------+--------+-------+------------+----+----+------+------------+-------+-----------\r\n0   |null  |prop|13  |20      |false    |false   |false  |null        |null|null|null  |null        |default|v2\r\n----+------+----+----+--------+---------+--------+-------+------------+----+----+------+------------+-------+-----------\r\n1 item(s) found. Query executed in 0.012 sec(s)."},"comment":{"url":"https://api.github.com/repos/orientechnologies/orientdb/issues/comments/231731497","html_url":"https://github.com/orientechnologies/orientdb/issues/5604#issuecomment-231731497","issue_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/5604","id":231731497,"user":{"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},"created_at":"2016-07-11T13:19:19Z","updated_at":"2016-07-11T13:19:19Z","body":"hi @a-unite,\n\nI think the fact that you don't see the result from the query is due to some caching, if you check the schema from the schema tab you will see that the LINKEDCLASS is removed correctly, we are checking this caching.\n\nRegards"}}
{"actor":{"display_login":"tglman"}}