Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-6162 in 4.1.1 Sprint 2 (RC2).
  1. #1
    Sencha Premium Member
    Join Date
    Dec 2011
    Posts
    44
    Vote Rating
    9
    jcdang will become famous soon enough

      0  

    Default [4.1] Ext.application.init() is never invoked

    [4.1] Ext.application.init() is never invoked


    REQUIRED INFORMATION
    Ext version tested:
    • Ext 4.1
    Browser versions tested against:
    • Chrome18.0.1025.168
    DOCTYPE tested against:
    • <!DOCTYPE HTML>
    Description:
    • Ext.application.init() is never invoked.
    Steps to reproduce the problem:
    • Create an application
    • define init() function
    The result that was expected:
    • init should have been called before viewport/controller creation
    The result that occurs instead:
    • init was never called
    Test Case:
    Code:
    Ext.application({
      init: function(app) {
         return;     
        for(;;) {
           window.open("http://sencha.com/"); 
        }   
      }
    });

    HELPFUL INFORMATION

    Related Post:
    Possible fix:
    • Remove from the doc
    • Call invoke somewhere
    Additional CSS used:
    • only default ext-all.css
    Operating System:
    • Mac OSX 10.7.3
    init( Ext.app.Application application )TEMPLATE1
    A template method that is called when your application boots. It is called before the Application's launch function is executed so gives a hook point to
    run any code before your Viewport is created.
    Last edited by jcdang; 9 May 2012 at 9:16 AM. Reason: Paste crazy

  2. #2
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,219
    Vote Rating
    484
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    Thank you for the report

    Regards,
    Scott.

  3. #3
    Sencha Premium Member
    Join Date
    May 2012
    Posts
    3
    Vote Rating
    0
    mawverizon is on a distinguished road

      0  

    Default


    Anyone have any clever workarounds?

  4. #4
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,219
    Vote Rating
    484
    scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future scottmartin has a brilliant future

      0  

    Default


    This has been corrected and should be available in our nightly builds shortly. Do you have a support subscription so you can access these builds?

    Regards,
    Scott.

  5. #5
    Sencha Premium Member
    Join Date
    May 2012
    Posts
    3
    Vote Rating
    0
    mawverizon is on a distinguished road

      0  

    Default


    The PO is in-process, we'll have our license soon. We're writing code as if it will work and we'll test as soon as we can.

  6. #6
    Touch Premium Member
    Join Date
    Nov 2010
    Location
    Chicago
    Posts
    1,563
    Vote Rating
    343
    LesJ has much to be proud of LesJ has much to be proud of LesJ has much to be proud of LesJ has much to be proud of LesJ has much to be proud of LesJ has much to be proud of LesJ has much to be proud of LesJ has much to be proud of LesJ has much to be proud of

      0  

    Default


    Fixed in 4.1.1 RC2