Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

    Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Sencha User
    Join Date
    Sep 2011
    Posts
    46
    Vote Rating
    0
    Zyphrax is on a distinguished road

      0  

    Post Operation.commitRecords fails, wrong Ext.util.MixedCollection init?

    Operation.commitRecords fails, wrong Ext.util.MixedCollection init?


    REQUIRED INFORMATION

    Ext version tested:
    • Touch 2.0-pr2
    Browser versions tested against:
    • Chrome
    Description:
    • I'm working on a store-to-store system for syncing data between localStorage and my rest services.
    • Somewhere deep in sencha code a call is made to commitRecords on the operation class:
    Code:
    commitRecords: function (serverRecords) {
         var me = this,
                        mc, index, clientRecords, serverRec, clientRec;
    
          if (!me.actionSkipSyncRe.test(me.action)) {
                    clientRecords = me.records;
                    if (clientRecords && clientRecords.length) {
                           mc = Ext.create('Ext.util.MixedCollection', true, function(r) {return r.getId();});
                           mc.addAll(clientRecords);
    • The following line is causing a javascript error
    Code:
    mc = Ext.create('Ext.util.MixedCollection', true, function(r) {return r.getId();});
    • It (indirectly) calls the constructor of Ext.mixin.Observable and finds that "true" isn't a valid config object.
    Code:
    constructor: function(config) {
            if (config) {
                if ('listeners' in config) {
    
    - The javascript error I get is that you can't use in on a boolean.

    Work around:
    Code:
    // Sencha bug: boolean is not a valid config object
    Ext.define('Ext.mixin.Hacks', {
    override: 'Ext.mixin.Observable',
    constructor: function(config) {
            if (config && Ext.isObject(config)) {
                if ('listeners' in config) {
                    ....

  2. #2
    Sencha - Sencha Touch Dev Team Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Vote Rating
    21
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    This issue has already been fixed for the next release.

    Sencha Inc

    Jamie Avins

    @jamieavins

Thread Participants: 1

Tags for this Thread