1. #21
    Sencha User
    Join Date
    Nov 2011
    Posts
    6
    Vote Rating
    0
    pzs1 is on a distinguished road

      0  

    Default


    Quote Originally Posted by sebbio View Post
    And I can confirm that this is happening with my application as well, and that the workaround Holger does not help.
    Try to write
    PHP Code:
    try{}catch(e){} 
    line directly into ext class, after the following lines:
    PHP Code:
    callOverrideParent = function () { // line 36 in ext-all-dev.js (4.1.1)
    callParent: function(args) { // line 5885
    callParent: function(args) { // line 6179 
    It helped me.

  2. #22
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,117
    Vote Rating
    507
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    The reason it's not reproducible is because it happens during some JIT compiling, so it's not really something we can "fix", since the symptom happens almost at random. The reason the try/catch works is because methods with try catch blocks don't get compiled.

    The FF bug is here: https://bugzilla.mozilla.org/show_bug.cgi?id=818023
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

  3. #23
    Sencha User
    Join Date
    Mar 2010
    Location
    Ukraine
    Posts
    47
    Vote Rating
    3
    sebbio is on a distinguished road

      0  

    Default


    Quote Originally Posted by pzs1 View Post
    Try to write
    PHP Code:
    try{}catch(e){} 
    line directly into ext class, after the following lines:
    PHP Code:
    callOverrideParent = function () { // line 36 in ext-all-dev.js (4.1.1)
    callParent: function(args) { // line 5885
    callParent: function(args) { // line 6179 
    It helped me.
    Thx... It helped me too...

  4. #24
    Sencha User
    Join Date
    Aug 2012
    Posts
    10
    Vote Rating
    0
    JPKramer707 is on a distinguished road

      0  

    Default Try/catch temporary patch

    Try/catch temporary patch


    The Try/catch temporary patch works for us as well.

    Who needs to release a fix for the core issue? Mozilla or Sencha?

  5. #25
    Sencha User skirtle's Avatar
    Join Date
    Oct 2010
    Location
    UK
    Posts
    3,338
    Vote Rating
    248
    skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of skirtle has much to be proud of

      0  

    Default


    Quote Originally Posted by JPKramer707 View Post
    Who needs to release a fix for the core issue? Mozilla or Sencha?
    Ideally Mozilla.

    Take a look at the Bugzilla report evant mentioned. It looks like Mozilla are still debating whether or not to include a fix in 18.0.1 dependent on 'user feedback'. Anyone who's keen to see this fixed quickly might want to voice their support to Mozilla.

  6. #26
    Sencha User
    Join Date
    May 2009
    Posts
    129
    Vote Rating
    1
    DiscoBoy is on a distinguished road

      0  

    Default


    Quote Originally Posted by pzs1 View Post
    Try to write
    PHP Code:
    try{}catch(e){} 
    line directly into ext class, after the following lines:
    PHP Code:
    callOverrideParent = function () { // line 36 in ext-all-dev.js (4.1.1)
    callParent: function(args) { // line 5885
    callParent: function(args) { // line 6179 
    It helped me.
    Thx for these workarounds...but what if I use the compressed product version? We use ext-all-dev.js of course only for development...

  7. #27
    Sencha User
    Join Date
    Apr 2012
    Posts
    7
    Vote Rating
    0
    clewinton is on a distinguished road

      0  

    Default


    We are also starting to get the problem reported to us. Seems like the auto update in Firefox can take a few days to happen.

    Is there any chance of a temporary fix for the compressed files, maybe some global place the try catch can be added?

  8. #28
    Ext Premium Member Jan (HL)'s Avatar
    Join Date
    Aug 2010
    Location
    Germany
    Posts
    111
    Vote Rating
    9
    Jan (HL) will become famous soon enough

      0  

    Default


    I'd asked for further information about integration state of the patch in the next releases. Unfortunately, the current patch has raised a regression test last night and therefor an automatic pull of the patch.

    I give you a quote about the current Mozilla issue 818023:
    They will track this for the next release if possible. This means the fix for 21 would be applied for 18, 19 and 20.

  9. #29
    Sencha User
    Join Date
    Nov 2011
    Posts
    6
    Vote Rating
    0
    pzs1 is on a distinguished road

      0  

    Default


    Quote Originally Posted by DiscoBoy View Post
    Thx for these workarounds...but what if I use the compressed product version? We use ext-all-dev.js of course only for development...
    Create and run the following php code:
    PHP Code:
    <?php

    $fn_in 
    "ext-all.js";
    $fn_out ="ext-all2.js"

    $f file_get_contents($fn_in);

    $f str_replace('d=function(){var i=d.caller.caller;r''d=function(){try{}catch(e){};var i=d.caller.caller;r'$f);
    $f str_replace('callParent:function(d){var e;r''callParent:function(d){var e;try{}catch(e){};r'$f);
    $f str_replace('callParent:function(e){var g,d''callParent:function(e){try{}catch(e){};var g,d'$f);

    file_put_contents($fn_out$f);

    print 
    "DONE";

  10. #30
    Sencha User
    Join Date
    Jan 2009
    Location
    Germany
    Posts
    8
    Vote Rating
    5
    Tyler___Durden is on a distinguished road

      2  

    Default


    You can also implement it like this

    Code:
    Ext.onReady(function(){
    
       if (Ext.firefoxVersion >= 18) {
          var noArgs = [];
          Ext.override(Ext.Base, {
          callParent : function(args) {
             var method, superMethod = (method = this.callParent.caller) && (method.$previous || ((method = method.$owner ?
    method :
    method.caller) && method.$owner.superclass[method.$name]));
    
             // Workarround for Firefox 18. I don't know why this works, but it does. Perhaps functions wich have
             // a try-catch block are handled differently
             try {
             } catch (e) {
             }
    
             return superMethod.apply(this, args || noArgs);
          }
         });
      }
    });
    This way you don't need to change the ExtJs Files...

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