-
-
Notifications
You must be signed in to change notification settings - Fork 876
Closed
Description
OrientDB Version: 3.0.8
Java Version: 1.8.0_141
OS: Windows 7
Expected behavior
UPDATE ... SET foo.bar = (INSERT INTO...) successfully updates the linkmap with the inserted record (it worked fine in OrientDB 2.2x)
Actual behavior
Fails, returns java.lang.ClassCastException: java.util.ArrayList cannot be cast to com.orientechnologies.orient.core.db.record.OIdentifiable
Steps to reproduce
CREATE VERTEX V SET foo = {}
UPDATE #9:1 SET foo.bar = (INSERT INTO V SET val = 1)
What does work is if I do:
CREATE VERTEX V SET id = 1, foo = {} //#9:1
CREATE VERTEX V SET id = 2 //#9:2
UPDATE #9:1 SET foo.bar = #9:2 OK
Metadata
Metadata
Assignees
Labels
buglegacy not used anymorelegacy not used anymore