Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Feb 2013
    Posts
    31
    Vote Rating
    0
    batman3000 is on a distinguished road

      0  

    Default Unable to add root property to TreeStore

    Unable to add root property to TreeStore


    Build: 678

    Project Type: Ext JS 4.1

    Description:Adding a root property to a TreeStore causes Architect to crash every time

    Steps to reproduce

    1. Create a new project
    2. Add a tree store
    3. Try to change the root property.
    Enter
    Code:
    {text: 'Hello', expanded: true}
    The result that was expected:
    The root to be set

    The result that occurs instead:Architect crashes

    Screenshot attached

    OS: Win 7


    New Project - Sencha Architect _2013-03-05_14-05-10.png

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Posts
    31
    Vote Rating
    0
    batman3000 is on a distinguished road

      0  

    Default


    Workaround: enter the root as a string first (ex: text: 'hello'), preview the code, then convert the string to an object.

    Wierd. Sigh...

  3. #3
    Sencha - Architect Dev Team
    Join Date
    Jul 2012
    Posts
    300
    Vote Rating
    28
    honestbleeps has a spectacular aura about honestbleeps has a spectacular aura about

      0  

    Default


    Thanks for your response, and my apologies for the trouble you're having.

    I've tested and confirmed this issue, and I've also confirmed that in our latest development builds this issue no longer occurs - there's no crash anymore.

    Architect also adds an Ajax Proxy by default since it's a common behavior. If you're just pasting in local JSON for your root (you may not be, I just don't have more context on your real world use case), be sure to delete that proxy before putting in your root for the time being.

    When Architect 2.2 is released, however, the crash issue will be alleviated.

    Apologies once again for the trouble, and thank you for providing us a simple way of replicating the issue - it helps us make Architect better!
    Steve Sobel
    @honestbleeps
    Sencha Architect Development Team

Thread Participants: 1

Tags for this Thread