Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-7282

JS error on 2nd step of create page wizard

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.0M5
    • 4.0 alpha
    • None
    • None

      At 2nd step of page creation wizard, there is this non-blocking JS error:

      ext-all-debug.js:9184 [E] Error while running task - TypeError: Cannot read property 'down' of undefined
      Caller: function () {
              var me = this,
                  items = me.items.getRange(),
                  i = 0,
                  len = items.length,
                  anim;
              //Ext.log('      executing anim runner task with ', len, ' items');
              me.targetArr = {};
              // Single timestamp for all animations this interval
              me.timestamp = new Date();
              // Loop to start any new animations first before looping to
              // execute running animations (which will also include all animations
              // started in this loop). This is a subtle difference from simply
              // iterating in one loop and starting then running each animation,
              // but separating the loops is necessary to ensure that all new animations
              // actually kick off prior to existing ones regardless of array order.
              // Otherwise in edge cases when there is excess latency in overall
              // performance, allowing existing animations to run before new ones can
              // lead to dropped frames and subtle race conditions when they are
              // interdependent, which is often the case with certain Element fx.
              for (; i < len; i++) {
                  anim = items[i];
                  if (anim.isReady()) {
                      //Ext.log('      starting anim ', anim.id, ', target: ', anim.target.id);
                      me.startAnim(anim);
                  }
              }
              for (i = 0; i < len; i++) {
                  anim = items[i];
                  if (anim.isRunning()) {
                      //Ext.log('      running anim ', anim.target.id);
                      me.runAnim(anim);
                  }
              }
              //else if (!me.useCSS3) {
              // When using CSS3 transitions the animations get paused since they are not
              // needed once the transition is handed over to the browser, so we can
              // ignore this case. However if we are doing JS animations and something is
              // paused here it's possibly unintentional.
              //Ext.log(' (i)  anim ', anim.id, ' is active but not running...');
              //}
              // Apply all the pending changes to their targets
              me.applyPendingAttrs();
              // Avoid retaining target references after we are finished with anims
              me.targetArr = null;
          }
      

      The error is repeat when clicking on a collapsed panel

            Unassigned Unassigned
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: