I wonder if this is a bug: 

qx.data.Array::unshift() contains this code:

        // fire change bubbles event
        this.fireDataEvent("changeBubble", {
          value: [this.__array[0]],
          name: "0",
          old: [this.__array[1]],
          item: this
        });

why does the "old" property contain the second array item? The corresponding
push() method does this: 

        // fire change bubbles event
        this.fireDataEvent("changeBubble", {
          value: [arguments[i]],
          name: (this.length - 1) + "",
          old: [],
          item: this
        });

"old" contains an empty array. This makes much more sense, since push(),
just like unshift() doesn't delete anything. 

This confuses my remote databinding mechanism. Shouldn't both methods behave
the same?

Thanks. 

--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/databinding-changeBubble-event-details-tp7540785p7540813.html
Sent from the qooxdoo mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to