DONE https://github.com/orientechnologies/orientdb/issues/7141
On Monday, January 30, 2017 at 9:42:53 AM UTC+1, Luigi Dell'Aquila wrote: > > Hi Hartmut, > > It seems to be a bug, could you please file an issue about this? > > Thanks > > Luigi > > > 2017-01-28 10:08 GMT+01:00 hartmut bischoff <topo...@gmail.com > <javascript:>>: > >> I observed a strange behavior of simple Arrays >> >> On a schemaless db, when I perform an update like >> >> UPDATE #18:4 set abc = [34,54,'gh'] >> >> the array is created correctly >> >> But if I do >> >> UPDATE #18:4 set abc = [34,54,'gh',#19:4] >> >> only a the link is left in the array >> >> >> select from #18:4 >> { "result": [ { "@type": "d", "@rid": "#18:4", >> "@version": 10, "@class": "test_model", "abc": [ >> "#19:4" ], ... } >> >> >> same is happening if I do >> >> >> UPDATE #18:4 set abc = [34,54,'gh'] >> UPDATE #18:4 ADD abc = #19:4 >> >> In both cases, all array-fields other then links are erased without any >> warning or raising an error. >> >> Is this the desired behavior or a bug? >> >> hartmut >> >> >> p.s Observation made using v. 2.2.5 >> >> -- >> >> --- >> You received this message because you are subscribed to the Google Groups >> "OrientDB" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to orient-databa...@googlegroups.com <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to orient-database+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.