{"action":"created","issue":{"url":"https://api.github.com/repos/orientechnologies/orientdb/issues/8583","repository_url":"https://api.github.com/repos/orientechnologies/orientdb","labels_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/8583/labels{/name}","comments_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/8583/comments","events_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/8583/events","html_url":"https://github.com/orientechnologies/orientdb/issues/8583","id":367060013,"node_id":"MDU6SXNzdWUzNjcwNjAwMTM=","number":8583,"title":"UPDATE #9:1 SET foo.bar = (INSERT INTO...) Syntax Not Working","user":{"login":"big213","id":8443042,"node_id":"MDQ6VXNlcjg0NDMwNDI=","avatar_url":"https://avatars1.githubusercontent.com/u/8443042?v=4","gravatar_id":"","url":"https://api.github.com/users/big213","html_url":"https://github.com/big213","followers_url":"https://api.github.com/users/big213/followers","following_url":"https://api.github.com/users/big213/following{/other_user}","gists_url":"https://api.github.com/users/big213/gists{/gist_id}","starred_url":"https://api.github.com/users/big213/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/big213/subscriptions","organizations_url":"https://api.github.com/users/big213/orgs","repos_url":"https://api.github.com/users/big213/repos","events_url":"https://api.github.com/users/big213/events{/privacy}","received_events_url":"https://api.github.com/users/big213/received_events","type":"User","site_admin":false},"labels":[{"id":197557840,"node_id":"MDU6TGFiZWwxOTc1NTc4NDA=","url":"https://api.github.com/repos/orientechnologies/orientdb/labels/bug","name":"bug","color":"fc2929","default":true},{"id":308632335,"node_id":"MDU6TGFiZWwzMDg2MzIzMzU=","url":"https://api.github.com/repos/orientechnologies/orientdb/labels/resolved","name":"resolved","color":"bfe5bf","default":false}],"state":"closed","locked":false,"assignee":{"login":"luigidellaquila","id":459289,"node_id":"MDQ6VXNlcjQ1OTI4OQ==","avatar_url":"https://avatars0.githubusercontent.com/u/459289?v=4","gravatar_id":"","url":"https://api.github.com/users/luigidellaquila","html_url":"https://github.com/luigidellaquila","followers_url":"https://api.github.com/users/luigidellaquila/followers","following_url":"https://api.github.com/users/luigidellaquila/following{/other_user}","gists_url":"https://api.github.com/users/luigidellaquila/gists{/gist_id}","starred_url":"https://api.github.com/users/luigidellaquila/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luigidellaquila/subscriptions","organizations_url":"https://api.github.com/users/luigidellaquila/orgs","repos_url":"https://api.github.com/users/luigidellaquila/repos","events_url":"https://api.github.com/users/luigidellaquila/events{/privacy}","received_events_url":"https://api.github.com/users/luigidellaquila/received_events","type":"User","site_admin":false},"assignees":[{"login":"luigidellaquila","id":459289,"node_id":"MDQ6VXNlcjQ1OTI4OQ==","avatar_url":"https://avatars0.githubusercontent.com/u/459289?v=4","gravatar_id":"","url":"https://api.github.com/users/luigidellaquila","html_url":"https://github.com/luigidellaquila","followers_url":"https://api.github.com/users/luigidellaquila/followers","following_url":"https://api.github.com/users/luigidellaquila/following{/other_user}","gists_url":"https://api.github.com/users/luigidellaquila/gists{/gist_id}","starred_url":"https://api.github.com/users/luigidellaquila/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luigidellaquila/subscriptions","organizations_url":"https://api.github.com/users/luigidellaquila/orgs","repos_url":"https://api.github.com/users/luigidellaquila/repos","events_url":"https://api.github.com/users/luigidellaquila/events{/privacy}","received_events_url":"https://api.github.com/users/luigidellaquila/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/orientechnologies/orientdb/milestones/148","html_url":"https://github.com/orientechnologies/orientdb/milestone/148","labels_url":"https://api.github.com/repos/orientechnologies/orientdb/milestones/148/labels","id":3692941,"node_id":"MDk6TWlsZXN0b25lMzY5Mjk0MQ==","number":148,"title":"3.0.9","description":"","creator":{"login":"luigidellaquila","id":459289,"node_id":"MDQ6VXNlcjQ1OTI4OQ==","avatar_url":"https://avatars0.githubusercontent.com/u/459289?v=4","gravatar_id":"","url":"https://api.github.com/users/luigidellaquila","html_url":"https://github.com/luigidellaquila","followers_url":"https://api.github.com/users/luigidellaquila/followers","following_url":"https://api.github.com/users/luigidellaquila/following{/other_user}","gists_url":"https://api.github.com/users/luigidellaquila/gists{/gist_id}","starred_url":"https://api.github.com/users/luigidellaquila/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luigidellaquila/subscriptions","organizations_url":"https://api.github.com/users/luigidellaquila/orgs","repos_url":"https://api.github.com/users/luigidellaquila/repos","events_url":"https://api.github.com/users/luigidellaquila/events{/privacy}","received_events_url":"https://api.github.com/users/luigidellaquila/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":4,"state":"open","created_at":"2018-09-27T09:24:15Z","updated_at":"2018-10-05T13:33:07Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2018-10-05T04:57:58Z","updated_at":"2018-10-06T02:55:04Z","closed_at":"2018-10-05T13:33:07Z","author_association":"NONE","body":"### OrientDB Version: 3.0.8\r\n### Java Version: 1.8.0_141\r\n### OS: Windows 7  \r\n\r\n## Expected behavior  \r\n`UPDATE ... SET foo.bar = (INSERT INTO...)` successfully updates the linkmap with the inserted record (it worked fine in OrientDB 2.2x)\r\n\r\n## Actual behavior  \r\nFails, returns `java.lang.ClassCastException: java.util.ArrayList cannot be cast to com.orientechnologies.orient.core.db.record.OIdentifiable`\r\n\r\n## Steps to reproduce  \r\n`CREATE VERTEX V SET foo = {}`\r\n`UPDATE #9:1 SET foo.bar = (INSERT INTO V SET val = 1)`\r\n\r\nWhat does work is if I do:\r\n`CREATE VERTEX V SET id = 1, foo = {}` `//#9:1` \r\n`CREATE VERTEX V SET id = 2` `//#9:2`\r\n`UPDATE #9:1 SET foo.bar = #9:2` OK\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/orientechnologies/orientdb/issues/comments/427540572","html_url":"https://github.com/orientechnologies/orientdb/issues/8583#issuecomment-427540572","issue_url":"https://api.github.com/repos/orientechnologies/orientdb/issues/8583","id":427540572,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNzU0MDU3Mg==","user":{"login":"big213","id":8443042,"node_id":"MDQ6VXNlcjg0NDMwNDI=","avatar_url":"https://avatars1.githubusercontent.com/u/8443042?v=4","gravatar_id":"","url":"https://api.github.com/users/big213","html_url":"https://github.com/big213","followers_url":"https://api.github.com/users/big213/followers","following_url":"https://api.github.com/users/big213/following{/other_user}","gists_url":"https://api.github.com/users/big213/gists{/gist_id}","starred_url":"https://api.github.com/users/big213/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/big213/subscriptions","organizations_url":"https://api.github.com/users/big213/orgs","repos_url":"https://api.github.com/users/big213/repos","events_url":"https://api.github.com/users/big213/events{/privacy}","received_events_url":"https://api.github.com/users/big213/received_events","type":"User","site_admin":false},"created_at":"2018-10-06T02:55:04Z","updated_at":"2018-10-06T02:55:04Z","author_association":"NONE","body":"@luigidellaquila Thank you for the quick attention to this issue. However, I just hope that the fix will also address the following query, could you please check?\r\n\r\n`CREATE VERTEX V SET foo = map(\"key1\", (INSERT INTO V SET id = 1), \"key2\", (INSERT INTO V SET id = 2))`"}}
{"actor":{"display_login":"big213"}}