Wait! Looks like we don't have enough information to add this to bug database. Please follow this template bug format.
  1. #1
    Sencha User
    Join Date
    May 2011
    Location
    Northern California
    Posts
    255
    Vote Rating
    17
    BillHubbard has a spectacular aura about BillHubbard has a spectacular aura about BillHubbard has a spectacular aura about

      0  

    Default [4.1.1] ExtJS is complaining about missing files that aren't missing

    [4.1.1] ExtJS is complaining about missing files that aren't missing


    I occasionally get an error in the console:

    Error: The following classes are not declared even if their files have been loaded: ''. Please check the source code of their corresponding files for possible typos: '

    When I am able to catch the condition (which is intermittent), I see the following code in ext-dev.js for an onFileLoaded method:

    Code:
                    if (missingClasses.length < 1) {
                        return;
                    }
    
                    missingClasses = Ext.Array.filter(Ext.Array.unique(missingClasses), function(item) {
                        return !requiresMap.hasOwnProperty(item);
                    }, Loader);
    
                    // HERE!
    
                    for (i = 0,ln = missingClasses.length; i < ln; i++) {
                        missingPaths.push(classNameToFilePathMap[missingClasses[i]]);
                    }
    
                    throw new Error("The following classes are not declared even if their files have been " +
                        "loaded: '" + missingClasses.join("', '") + "'. Please check the source code of their " +
                        "corresponding files for possible typos: '" + missingPaths.join("', '"));
                }
    At the point marked "HERE!", missingClasses.length is zero, whereas prior to the assignment immediately above it, it was 2.
    Apparently, there needs to be a check in here to return if missingClasses.length is zero, just as there is before missingClasses got redefined.

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    35,731
    Vote Rating
    754
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Is there a way I can reproduce this?
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    May 2011
    Location
    Northern California
    Posts
    255
    Vote Rating
    17
    BillHubbard has a spectacular aura about BillHubbard has a spectacular aura about BillHubbard has a spectacular aura about

      0  

    Default


    I wish I knew.

  4. #4
    Sencha User
    Join Date
    May 2011
    Location
    Northern California
    Posts
    255
    Vote Rating
    17
    BillHubbard has a spectacular aura about BillHubbard has a spectacular aura about BillHubbard has a spectacular aura about

      0  

Thread Participants: 1

Tags for this Thread

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar