google-code-export / red5

Automatically exported from code.google.com/p/red5
0 stars 0 forks source link

can not sync array object to client when array object has been delete one element. #452

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.sharedobject add one array object property.
  so.data["property"] = new Array();
2.add more than one element to this array.
  (so.data["property"] as Array).push(obj1);
  so.setDirty("property");
  (so.data["property"] as Array).push(obj2);
  so.setDirty("property");
  (so.data["property"] as Array).push(obj3);
  so.setDirty("property");
  client can receive sync event when add element to array.
3.remove one element from this array.
  (so.data["property"] as Array).pop();
  so.setDirty("property");
  client can not receive sync event when remove element from array.

What is the expected output? What do you see instead?
client can receive sync event when remove element from array.

What version of the product are you using? On what operating system?
1.01

Please provide any additional information below.
AttributeStore#setAttribute function
compare Collection element count before compare every 
element(Collections.frequency).

Original issue reported on code.google.com by donggu...@gmail.com on 10 Oct 2013 at 8:20

GoogleCodeExporter commented 9 years ago
Unclear or no longer valid issues

Original comment by mondain on 9 Nov 2014 at 4:02