Thank you for reporting this bug. We will make it our priority to review this report.
  1. #111
    Sencha User
    Join Date
    Mar 2011
    Location
    Germany
    Posts
    198
    Vote Rating
    1
    Nickname is on a distinguished road

      0  

    Default


    User spurcell discovered that Ext.DomHelper isnt available as the Docs say. [Thread]

    Checked the sources and found the problem:

    Ext.DomHelper does not exists in 4.0.2a, but Ext.core.DomHelper does

    From the src/core/src/dom/DomHelper.js file:
    Code:
    Ext.ns('Ext.core');
    Ext.core.DomHelper = function(){
             var tempTableEl = null,
    The Online Docs source :
    // http://docs.sencha.com/ext-js/4-0/so...#Ext-DomHelper
    Code:
    Ext.ns('Ext.core');
    Ext.core.DomHelper = Ext.DomHelper = function(){ 
        var tempTableEl = null,

    Checked all build files in the 4.0.2a GPL release
    No results for Ext.DomHelper, but for Ext.core.DomHelper

    Code:
    ext-4.0.2a# fgrep Ext.DomHelper ext-all*
    ext-4.0.2a# fgrep Ext.core.DomHelper ext-all*
    ext-all-debug.js:Ext.core.DomHelper = function(){
    ext-all-debug.js:            newNode = Ext.core.DomHelper.insertHtml(pos, el, Ext.core.DomHelper.createHtml(o));
    ext-all-debug.js:            Ext.core.DomHelper.applyStyles(el, o.style);
    [...]
    Seems the Online Docs are not for 4.0.2a as they should or generated not from the downloadable GPL version?
    Please explain how this difference between downloadable version and Docs could appear.

  2. #112
    Sencha User ykey's Avatar
    Join Date
    Mar 2010
    Location
    USA
    Posts
    245
    Vote Rating
    27
    ykey has a spectacular aura about ykey has a spectacular aura about

      0  

    Default


    http://docs.sencha.com/ext-js/4-0/#/...til.Observable

    Example uses old style parent call, could be confusing.

    Code:
    Employee.superclass.constructor.call(this, config)

  3. #113
    Sencha User renku's Avatar
    Join Date
    Feb 2009
    Location
    Estonia
    Posts
    437
    Vote Rating
    17
    renku is a splendid one to behold renku is a splendid one to behold renku is a splendid one to behold renku is a splendid one to behold renku is a splendid one to behold renku is a splendid one to behold renku is a splendid one to behold

      0  

    Default


    Quote Originally Posted by Nickname View Post
    Seems the Online Docs are not for 4.0.2a as they should or generated not from the downloadable GPL version?Please explain how this difference between downloadable version and Docs could appear.
    Indeed. The Online Docs are created from 4.0.4 release, available for support subscribers.

    A lot of documentation fixes have gone in since the 4.0.2a release, so to provide these to everybody as soon as possible we decided to make such a trade-off.

    Mostly all the code changes should in these point-releases should barely effect the docs, but this fix (making Ext.core.DomHelper simply an alias of Ext.DomHelper) turned out to have a larger effect (the Ext.DomHelper is missing in 4.0.2a).

    Sorry for the inconvenience.

  4. #114
    Sencha User
    Join Date
    Mar 2011
    Location
    Germany
    Posts
    198
    Vote Rating
    1
    Nickname is on a distinguished road

      0  

    Default


    Thanks for the feedback.
    Maybe it would be better to explain this in the Docs? Title and Docs IndexPage says "4.0.2a API Documentation".

  5. #115
    Ext JS Premium Member
    Join Date
    Mar 2011
    Posts
    38
    Vote Rating
    0
    dstarr@allofe.com is on a distinguished road

      0  

    Default


    The load listener for Ext.data.TreeStore doesn't override Ext.data.AbstractStore, but it does pass in different parameters. According to AbstractStore, here are the parameters it should be passing:

    ( Ext.data.Store this, [Ext.data.Model] records, Boolean successful, Object options )

    If you look at line 53444, it is actually passing

    ( Ext.data.Store this, Ext.data.Model rootNode, [Ext.data.Model] records, Boolean successful)

  6. #116
    Sencha User renku's Avatar
    Join Date
    Feb 2009
    Location
    Estonia
    Posts
    437
    Vote Rating
    17
    renku is a splendid one to behold renku is a splendid one to behold renku is a splendid one to behold renku is a splendid one to behold renku is a splendid one to behold renku is a splendid one to behold renku is a splendid one to behold

      0  

    Default


    Thanks for reporting. It's been fixed now internally.

    Also, all the other issues in this thread have been fixed or otherwise noted.

    Thanks to everybody for taking the time to report.

  7. #117
    Ext JS Premium Member
    Join Date
    Mar 2011
    Posts
    33
    Vote Rating
    0
    m4dc4p will become famous soon enough

      0  

    Default Ext.dd.DragSource.onValidDrop function incorrectly documented; hidden from view

    Ext.dd.DragSource.onValidDrop function incorrectly documented; hidden from view


    The onValidDrop function, defined in Ext.dd.DragSource, has the tag "onInvalidDrop" associated with it. This makes the function not show up in the API docs.

    Looking at http://docs.sencha.com/ext-js/4-0/so...ragSource.html, you can see how onValidDrop has the wrong tags associated with it:

    Code:
      
    /**
        * An empty function by default, but provided so that you can perform a custom action    
        * after a valid drop has occurred by providing an implementation.
         ...
        * @method afterInvalidDrop
       */   
    this.afterValidDrop(target, e, id);

  8. #118
    Ext JS Premium Member SebTardif's Avatar
    Join Date
    Feb 2011
    Location
    Cambridge, MA
    Posts
    657
    Vote Rating
    38
    SebTardif has a spectacular aura about SebTardif has a spectacular aura about

      0  

    Default


    This is not true ->
    This method is not affected by the {@link #closeAction} setting which
    * only affects the action triggered when clicking the {@link #closable 'close' tool in the header}
    Code:
        /**
         * <p>Closes the Panel. By default, this method, removes it from the DOM, {@link Ext.Component#destroy destroy}s
         * the Panel object and all its descendant Components. The {@link #beforeclose beforeclose}
         * event is fired before the close happens and will cancel the close action if it returns false.<p>
         * <p><b>Note:</b> This method is not affected by the {@link #closeAction} setting which
         * only affects the action triggered when clicking the {@link #closable 'close' tool in the header}.
         * To hide the Panel without destroying it, call {@link #hide}.</p>
         */
        close: function() {
            if (this.fireEvent('beforeclose', this) !== false) {
                this.doClose();
            }
        },
    
        // private
        doClose: function() {
            this.fireEvent('close', this);
            this[this.closeAction]();
        },

  9. #119
    Ext JS Premium Member cnelissen's Avatar
    Join Date
    Sep 2007
    Location
    California
    Posts
    225
    Vote Rating
    8
    cnelissen will become famous soon enough

      0  

    Default


    In Ext.view.View (extended from Ext.view.AbstractView), for the config property deferEmptyText, it does not specify which is the default.

    It currently reads:

    deferEmptyText : Boolean
    True to defer emptyText being applied until the store's first load

    It should read something like:

    deferEmptyText : Boolean
    True to defer emptyText being applied until the store's first load. Defaults to true.
    - Clint Nelissen

  10. #120
    Sencha - Community Support Team edspencer's Avatar
    Join Date
    Jan 2009
    Location
    Palo Alto, California
    Posts
    1,939
    Vote Rating
    9
    edspencer is a jewel in the rough edspencer is a jewel in the rough edspencer is a jewel in the rough

      0  

    Default


    Quote Originally Posted by cnelissen View Post
    In Ext.view.View (extended from Ext.view.AbstractView), for the config property deferEmptyText, it does not specify which is the default.

    It currently reads:

    deferEmptyText : Boolean
    True to defer emptyText being applied until the store's first load

    It should read something like:

    deferEmptyText : Boolean
    True to defer emptyText being applied until the store's first load. Defaults to true.
    Done, thanks
    Ext JS Senior Software Architect
    Personal Blog: http://edspencer.net
    Twitter: http://twitter.com/edspencer
    Github: http://github.com/edspencer

Thread Participants: 171

  1. Lod (1 Post)
  2. mystix (3 Posts)
  3. Juanito (1 Post)
  4. GArrow (1 Post)
  5. adarsh_r_bhat (2 Posts)
  6. pbb72 (2 Posts)
  7. rex.staples (1 Post)
  8. rednix (1 Post)
  9. hendricd (1 Post)
  10. dogomatic (1 Post)
  11. richard.allen (1 Post)
  12. ValterBorges (4 Posts)
  13. cnelissen (1 Post)
  14. neshaug (1 Post)
  15. richardtallent (1 Post)
  16. Hemlock (2 Posts)
  17. pbienick (3 Posts)
  18. mankz (8 Posts)
  19. rstuart (1 Post)
  20. Ant1105 (1 Post)
  21. NOSLOW (1 Post)
  22. crysfel (1 Post)
  23. carl23934 (1 Post)
  24. zombeerose (19 Posts)
  25. Allwise (1 Post)
  26. themightychris (1 Post)
  27. SamuraiJack1 (1 Post)
  28. wildfire (1 Post)
  29. Qtx (4 Posts)
  30. wiznia (3 Posts)
  31. Greendrake (1 Post)
  32. charleshimmer (1 Post)
  33. chdig (1 Post)
  34. Jaitsu (1 Post)
  35. Dumas (1 Post)
  36. janhov (3 Posts)
  37. mx_starter (1 Post)
  38. edspencer (7 Posts)
  39. firefoxSafari (1 Post)
  40. cstrong@arielpartners.com (1 Post)
  41. renku (75 Posts)
  42. westy (1 Post)
  43. slemmon (4 Posts)
  44. gevik (10 Posts)
  45. bodyboarder20 (4 Posts)
  46. ZachG (3 Posts)
  47. kleins (1 Post)
  48. campersau1 (5 Posts)
  49. 44gatti (1 Post)
  50. batweasel (1 Post)
  51. fguest (1 Post)
  52. drogers (1 Post)
  53. wsi (1 Post)
  54. ironandsteel (1 Post)
  55. McQuack_82 (1 Post)
  56. Uberdude (1 Post)
  57. hhangus (3 Posts)
  58. hexawing (4 Posts)
  59. chinabuffet (2 Posts)
  60. Ozone (2 Posts)
  61. tomb@ibcos.co.uk (5 Posts)
  62. olivierpons (1 Post)
  63. flanders (2 Posts)
  64. wufpack_jack (1 Post)
  65. devtig (1 Post)
  66. aghextjs (1 Post)
  67. WBX (1 Post)
  68. alonweiss (4 Posts)
  69. yakovsh (1 Post)
  70. gianmarco (3 Posts)
  71. halcwb (5 Posts)
  72. ykey (1 Post)
  73. korax (1 Post)
  74. zerkms (2 Posts)
  75. keithhackworth (2 Posts)
  76. eliotik (1 Post)
  77. h.wagner@telekom.de (1 Post)
  78. nosferatum (2 Posts)
  79. wbutler (1 Post)
  80. dancha (1 Post)
  81. Jan (HL) (2 Posts)
  82. touchy (1 Post)
  83. charris (2 Posts)
  84. Allan Stark (1 Post)
  85. vadimv (7 Posts)
  86. rhamflett (1 Post)
  87. Evantan (4 Posts)
  88. kent78 (1 Post)
  89. jhummel (1 Post)
  90. fishbone (1 Post)
  91. skirtle (35 Posts)
  92. LesJ (43 Posts)
  93. mangotang (2 Posts)
  94. Felicitus (1 Post)
  95. tiger.seo (3 Posts)
  96. clearbasis (1 Post)
  97. sreeser (1 Post)
  98. Rob Hogan (3 Posts)
  99. SebTardif (6 Posts)
  100. mberrie (4 Posts)
  101. rijkvanwel (1 Post)
  102. s.busch (1 Post)
  103. Nickname (4 Posts)
  104. dstarr@allofe.com (4 Posts)
  105. m4dc4p (1 Post)
  106. fdp (2 Posts)
  107. SommerEngineering (1 Post)
  108. mprogr (1 Post)
  109. Berzzzebub (2 Posts)
  110. Justin Noel (2 Posts)
  111. S├ębastien.Volle (2 Posts)
  112. sskow200 (1 Post)
  113. jobjo (1 Post)
  114. cadror (2 Posts)
  115. c089 (2 Posts)
  116. ligaard (29 Posts)
  117. neonova (2 Posts)
  118. jonathanmv (1 Post)
  119. nbabinski (4 Posts)
  120. Vasiliy Faronov (2 Posts)
  121. mrobinson (1 Post)
  122. ext-spring-mvc (1 Post)
  123. rexmpetersen (1 Post)
  124. BillHubbard (5 Posts)
  125. redraid (1 Post)
  126. Arshak (2 Posts)
  127. espeak (1 Post)
  128. Farish (2 Posts)
  129. nohuhu (1 Post)
  130. dwarf (1 Post)
  131. burnnat (12 Posts)
  132. don@electionmall.com (1 Post)
  133. sirtmp (1 Post)
  134. Jasel_ExtJS (1 Post)
  135. dusek (1 Post)
  136. bioinfo (1 Post)
  137. dpaquin (1 Post)
  138. nhoward (1 Post)
  139. Wilkins (1 Post)
  140. flatbugz (1 Post)
  141. tonyx (1 Post)
  142. eirik.lorentsen (1 Post)
  143. limscoder (1 Post)
  144. ExtJSNinjas (2 Posts)
  145. castitas (7 Posts)
  146. nealtao (1 Post)
  147. mark0978 (7 Posts)
  148. olecom (2 Posts)
  149. JimSoper (1 Post)
  150. hnordt (1 Post)
  151. WingC (2 Posts)
  152. cawoodm (1 Post)
  153. jchristen (1 Post)
  154. carrollecc (1 Post)
  155. p33t (5 Posts)
  156. user ext (1 Post)
  157. JeromeA (1 Post)
  158. mikfreeman (1 Post)
  159. DrewM (1 Post)
  160. Lascaux (1 Post)
  161. einartg (2 Posts)
  162. colin.yates (1 Post)
  163. atomcat (1 Post)
  164. Ghostly (2 Posts)
  165. bomslang (1 Post)
  166. kinjeiro (2 Posts)
  167. wayne_x (1 Post)
  168. mpost (1 Post)
  169. Gary Schlosberg (1 Post)
  170. jreusser (1 Post)
  171. ckerth (1 Post)