Uploaded image for project: 'Runtime'
  1. Runtime
  2. RUNTIME-2292

Layout is broken if a config is not valued

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • 4.1.4, 4.2.0
    • 4.0M12
    • Workspace admin
    • None

      1. In my config.xml, I commented the smtp.mail.host parameter.
      2. I started my server. I've got "The parameter 'smtp.mail.host' is not valued. Configuration is not initialized." in my logs.
      3. I went to admin workspace. Got the JS error :
        ConfigurableFormPanel.js:1335
         Uncaught TypeError: Cannot read property 'dom' of undefined(…)_updateTabStatus @ ConfigurableFormPanel.js:1335
        (anonymous function) @ ConfigurableFormPanel.js:1193
        each @ ext-all-debug.js:40050
        _updateTabsStatus @ ConfigurableFormPanel.js:1192
        (anonymous function) @ ext-all-debug.js:6711
        fire @ ext-all-debug.js:20326
        doFireEvent @ ext-all-debug.js:21244
        doFireEvent @ ext-all-debug.js:65377
        prototype.doFireEvent @ ext-all-debug.js:55078
        fireEventArgs @ ext-all-debug.js:21097
        fireEvent @ ext-all-debug.js:21056
        renderActiveWarning @ Ext.enhancements.js:518
        renderActiveWarning @ Ext.enhancements.js:785
        setActiveWarnings @ Ext.enhancements.js:483
        (anonymous function) @ ext-all-debug.js:6793
        markWarning @ Ext.enhancements.js:742
        (anonymous function) @ ConfigurableFormPanel.js:2908
        fire @ ext-all-debug.js:20326
        doFireEvent @ ext-all-debug.js:21244
        doFireEvent @ ext-all-debug.js:65377
        prototype.doFireEvent @ ext-all-debug.js:55078
        fireEventArgs @ ext-all-debug.js:21097
        fireEvent @ ext-all-debug.js:21056
        finishRender @ ext-all-debug.js:60858
        finishRenderItems @ ext-all-debug.js:123714
        finishRender @ ext-all-debug.js:124135
        finishRenderChildren @ ext-all-debug.js:127446
        afterRender @ ext-all-debug.js:60150
        finishRender @ ext-all-debug.js:60860
        finishRenderItems @ ext-all-debug.js:123714
        finishRender @ ext-all-debug.js:124135
        finishRenderChildren @ ext-all-debug.js:127446
        afterRender @ ext-all-debug.js:60150
        finishRender @ ext-all-debug.js:60860
        finishRenderItems @ ext-all-debug.js:123714
        finishRender @ ext-all-debug.js:124135
        finishRenderChildren @ ext-all-debug.js:127446
        afterRender @ ext-all-debug.js:60150
        finishRender @ ext-all-debug.js:60860
        render @ ext-all-debug.js:60607
        renderItem @ ext-all-debug.js:123809
        renderItems @ ext-all-debug.js:123739
        renderChildren @ ext-all-debug.js:124320
        invalidate @ ext-all-debug.js:219424
        invalidate @ ext-all-debug.js:219432
        flushInvalidates @ ext-all-debug.js:219258
        run @ ext-all-debug.js:219760
        flushLayouts @ ext-all-debug.js:62831
        resumeLayouts @ ext-all-debug.js:62846
        Ext.resumeLayouts @ ext-all-debug.js:68616
        _dispatch @ ServerComm.js:861
        _onRequestComplete @ ServerComm.js:767
        callback @ ext-all-debug.js:8497
        onComplete @ ext-all-debug.js:25277
        onStateChange @ ext-all-debug.js:25234
        (anonymous function) @ ext-all-debug.js:6696
        XMLHttpRequest.send (async)start @ ext-all-debug.js:24983
        request @ ext-all-debug.js:26044
        _sendMessages @ ServerComm.js:590
        (anonymous function) @ ServerComm.js:333
        setTimeout (async)send @ ServerComm.js:333
        _getConfigurationParameters @ ConfigTool.js:114
        createPanel @ ConfigTool.js:51
        createWrapper @ Tool.js:634
        openTool @ ToolsManager.js:296
        init @ ToolsManager.js:110
        callback @ index.html:2751cb @ Message.js:289
        (anonymous function) @ ext-all-debug.js:6711
        (anonymous function) @ ext-all-debug.js:6901
        setTimeout (async)defer @ ext-all-debug.js:6897
        constructor @ Message.js:296
        Ametys.message.Message @ ext-all-debug.js:12792
        (anonymous function) @ VM1862:3create @ ext-all-debug.js:15175
        launch @ index.html:2742onBeforeLaunch @ ext-all-debug.js:93123
        callParent @ ext-all-debug.js:12184
        onBeforeLaunch @ ext-all-debug.js:93397
        onProfilesReady @ ext-all-debug.js:93053
        constructor @ ext-all-debug.js:93022
        AM.$application @ ext-all-debug.js:12792
        (anonymous function) @ ext-all-debug.js:93305
        invoke @ ext-all-debug.js:18167
        doInvokeAll @ ext-all-debug.js:18211
        invokeAll @ ext-all-debug.js:18180
        handleReady @ ext-all-debug.js:18136
        (anonymous function) @ ext-all-debug.js:18151
        (anonymous function) @ ext-all-debug.js:6711
        (anonymous function) @ ext-all-debug.js:6901
        setTimeout (async)defer @ ext-all-debug.js:6897
        handleReadySoon @ ext-all-debug.js:18149
        fireReady @ ext-all-debug.js:18122
        doReadyEvent @ ext-all-debug.js:18312
        onReadyEvent @ ext-all-debug.js:18298
        
      4. My layout is broken

            raphael Raphaël Franchet
            sprieul Simon Prieul (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: