Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    PickTree bug in recent nightly builds

    Smartclient LPGL 8.x nigthly builds
    All tests with Safari 5.0.5, firefox 5, and Chrome

    You can check this bug in the feature explorer:
    Forms -> Form Controls -> Tree

    The sub menus don't appear anymore.

    I tested a few nightly builds and it DID work in SmartClient_SC_SNAPSHOT-2011-05-30, but didn't in SmartClient_SC_SNAPSHOT-2011-06-16. It is also broken in the latest build (SmartClient_SC_SNAPSHOT-2011-07-08). I didn't keep other builds so I can't give a more precise date.

    #2
    Unable to reproduce this. Please try again using the latest build.

    Comment


      #3
      I can confirm that this bug is still present in SC_SNAPSHOT-2011-07-20.

      As didierv suggested, please open Forms -> Form Controls -> Tree, open the first menu level and then try to open a submenu.

      Following stack trace appears:
      Code:
      14:35:06.762:TMR3:WARN:Log:Call to Super for method: showSubmenu failed on: [SelectionTreeMenu ID:isc_SelectionTreeMenu_0]: couldn't find a superclass implementation of : SelectionTreeMenu.showSubmenu
          Class.getStackTrace(_1=>undef,  _2=>undef,  _3=>undef,  _4=>undef)
          Class.invokeSuper(_1=>null,  _2=>"showSubmenu",  _3=>undef,  _4=>undef,  _5=>undef,  _6=>undef,  _7=>undef,  _8=>undef,  _9=>undef,  _10=>undef)
          Class.Super(_1=>"showSubmenu",  _2=>[object Arguments],  _3=>undef)
          [o]SelectionTreeMenu.getSubmenu(_5=>Obj{name:Sales})
          Menu.showSubmenu(_1=>Obj{name:Sales})
          Menu.changeSubmenu()
          [c]Class.fireCallback(_1=>Obj,  _2=>undef,  _3=>Array[0],  _4=>[SelectionTreeMenu ID:isc_SelectionTreeMenu_0],  _5=>true) on [Class Timer]
          [c]Timer.$in(_1=>"$ir491")

      Comment


        #4
        Make sure you run a GWT compile, clear your browser cache, and verify using Firebug that the files actually delivered to the browser have the expected date (visible towards the top of the file).

        Comment


          #5
          This is about SmartClient, not SmartGWT. Browser cache is cleared.

          The bug is still present in:

          "SmartClient Version: SC_SNAPSHOT-2011-07-21/LGPL Development Only (built 2011-07-21)" (version information of the SmartClient Developer Console).

          and can be really easily reproduced by:

          - unpacking SmartClient_SC_SNAPSHOT-2011-07-21_LGPL.zip
          - start_embedded_server.sh
          - open feature explorer
          - perform the steps described above
          - do not only open the pick tree, but try to open a sub menu, e.g. try to open the "Sales" folder
          => the stack trace appears (was copied from the developer console).

          Edit: be sure to review the example from "Forms->Form Controls->Tree" (this one fails - using form pick tree fields), not "Control->Menus->Tree Binding" (this one works - using a MenuButton).
          Last edited by ect; 21 Jul 2011, 23:07.

          Comment


            #6
            Thanks for clarifying that it's SmartClient. This bug was already fixed for SGWT but SmartClient nightlies are currently coming from a separate branch and the fix had not yet been merged. Now fixed for both products.

            Comment

            Working...
            X