1. #1
    Sencha User
    Join Date
    Nov 2011
    Posts
    5
    Vote Rating
    0
    dave_e is on a distinguished road

      0  

    Default Unanswered: Layout failure: containerChildrenDone:dom missing value

    Unanswered: Layout failure: containerChildrenDone:dom missing value


    I'm upgrading from 4.0.7 to 4.1.1a and struggling to understand how I debug layout failures. So far I've fixed a few problems by setting layout: 'auto' and adding a specific height value. But I don't know what to do about the final error I get. The docs contain no reference to containerChildrenDone or a relevant dom variable. I've attached the error log below.

    Any idea what I should be changing to fix this?

    Code:
    ++attributeeditor-1017<autocontainer> - size: calculated/calculatedext-dev.js:11374
       ++textfield-1018<textfield> - boxParent: attributeeditor-1017 - size: natural/shrinkWrap ext-dev.js:11374
       ++vectorproperty-1019<field> - boxParent: attributeeditor-1017 - size: natural/shrinkWrap ext-dev.js:11374
       ++vectorproperty-1020<field> - boxParent: attributeeditor-1017 - size: natural/shrinkWrap ext-dev.js:11374
       ++vectorproperty-1021<field> - boxParent: attributeeditor-1017 - size: natural/shrinkWrap ext-dev.js:11374
       ++componenteditor-1180<dock> - boxParent: attributeeditor-1017 - size: natural/shrinkWrap ext-dev.js:11374
          ++componenteditor-1180_header<body> [isBoxParent] - size: calculated/shrinkWrap ext-dev.js:11374
          ++componenteditor-1180_header<hbox> [isBoxParent] - size: calculated/shrinkWrap ext-dev.js:11374
             ++componenteditor-1180_header_hd<autocomponent> [isBoxParent] - size: calculated/shrinkWrap ext-dev.js:11374
             ++tool-1360<autocomponent> [isBoxParent] - size: configured/configured ext-dev.js:11374
       ++componenteditor-1180<anchor> - boxParent: attributeeditor-1017 - size: natural/shrinkWrap ext-dev.js:11374
          --assetfield-1181<autocontainer> - size: calculated/configured ext-dev.js:11374
                triggeredBy: count=1 ext-dev.js:11374
                   assetfield-1181.containerChildrenDone:dom () dirty: false, setBy: ? ext-dev.js:11374
             ++label-1193<autocomponent> - size: natural/shrinkWrap ext-dev.js:11374
             ++gridpanel-1182<dock> - size: natural/configured ext-dev.js:11374
                ++headercontainer-1183<autocomponent> [isBoxParent] - size: calculated/configured ext-dev.js:11374
                ++headercontainer-1183<gridcolumn> [isBoxParent] - size: calculated/configured ext-dev.js:11374
                   ++gridcolumn-1184<columncomponent> [isBoxParent] - size: calculated/calculatedFromShrinkWrap ext-dev.js:11374
                   ++actioncolumn-1185<columncomponent> [isBoxParent] - size: calculated/calculatedFromShrinkWrap ext-dev.js:11374
             ++gridpanel-1182<autocontainer> - size: natural/configured ext-dev.js:11374
                ++gridview-1186<tableview> - boxParent: gridpanel-1182 - size: natural/shrinkWrap ext-dev.js:11374
             ++button-1192<button> - size: shrinkWrap/shrinkWrap ext-dev.js:11374
          ++assetfield-1181<autocomponent> - size: calculated/configured ext-dev.js:11374
          ++checkboxfield-1194<field> - size: calculated/shrinkWrap ext-dev.js:11374
          ++checkboxfield-1195<field> - size: calculated/shrinkWrap

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    St. Louis, MO
    Posts
    34,121
    Vote Rating
    453
    Answers
    3161
    mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of

      0  

    Default


    What does the parent and it's children look like?
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    http://www.JSONPLint.com - Source to lint your JSONP!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User
    Join Date
    Nov 2011
    Posts
    5
    Vote Rating
    0
    dave_e is on a distinguished road

      0  

    Default


    I'm not quite sure what you mean?

    AttributeEditor is a form panel which contains some fields and multiple ComponentEditors.

    ComponentEditor is also a form panel and in this case contains an AssetPicker.

    AssetPicker is a Container with a Ext.form.field.Field mixin. It contains a label and a couple of Grid panels (one of which is hidden).

    ComponentEditor creates it's content dynamically, but it is only when the AssetPicker is present that the layout fails.

    Previous errors I could fix by tracking down an attribute which I hadn't initialized, but I'm not sure what containerChildrenDone:dom is?

Tags for this Thread