Thank you for reporting this bug. We will make it our priority to review this report.
Window with maximizable=true crash sencha app build
Window with maximizable=true crash sencha app build
I was created a override of Ext.window.Window with Sencha Architect (SA 3.1.0), and when i try to build, i get the that error:
== Unhandled Error ==
TypeError: '''undefined''' is not a function (evaluating '''me.header.on('{'After some time, i discovered that the attribute: maximizable causes the error.
That is a bug?
the code run on browser without problem, but the build fails.
there some workaroud for that?OVERRIDE of the Window
Code:
Ext.define('Erue.override.window.Window', {
override: 'Ext.window.Window',
constrain: true,
height: 413,
width: 693,
title: 'Janela de Teste',
maximizable: true,
minimizable: true,
initComponent: function() {
var me = this;
if(typeof Erue !== "undefined" &&
typeof Erue.getApplication == "function" &&
Erue.getApplication().desktop !== null){
Erue.getApplication().desktop.add(me);
}
me.callParent();
}
});
FULL ERRORCode:
[INF] Writing content to F:\erue5\baseErue\Erue/sass/example/bootstrap.js
[INF] Capturing theme image
[ERR] loading page F%3A/erue5\baseErue\Erue/sass/example/theme.html
registering ready listener...
loading widget definitions...
rendering widgets...
== Unhandled Error ==
TypeError: '''undefined''' is not a function (evaluating '''me.header.on('{'
scope: me,
dblclick: me.toggleMaximize
'}')''')
file:///F:/erue5/baseErue/Erue/ext/src/window/Window.js:443 in Ext.window.Window#onRender
file:///F:/erue5/baseErue/Erue/ext/src/util/Renderable.js:950 in Ext.util.Renderable#finishRender
file:///F:/erue5/baseErue/Erue/ext/src/util/Renderable.js:682 in Ext.util.Renderable#render
file:///F:/erue5/baseErue/Erue/ext/packages/ext-theme-base/sass/example/render.js:265
file:///F:/erue5/baseErue/Erue/ext/packages/ext-theme-base/sass/example/render.js:325
file:///F:/erue5/baseErue/Erue/ext/packages/ext-theme-base/sass/example/render.js:377
file:///F:/erue5/baseErue/Erue/ext/packages/sencha-core/src/env/Ready.js:271
file:///F:/erue5/baseErue/Erue/ext/packages/sencha-core/src/env/Ready.js:313
file:///F:/erue5/baseErue/Erue/ext/packages/sencha-core/src/env/Ready.js:445
file:///F:/erue5/baseErue/Erue/ext/packages/sencha-core/src/class/Loader.js:761
file:///F:/erue5/baseErue/Erue/ext/packages/sencha-core/src/class/Loader.js:906
file:///F:/erue5/baseErue/Erue/ext/packages/sencha-core/src/class/Loader.js:649
file:///F:/erue5/baseErue/Erue/sass/example/bootstrap.js:919
file:///F:/erue5/baseErue/Erue/sass/example/bootstrap.js:898
file:///F:/erue5/baseErue/Erue/sass/example/bootstrap.js:1344
file:///F:/erue5/baseErue/Erue/sass/example/bootstrap.js:1191
file:///F:/erue5/baseErue/Erue/sass/example/bootstrap.js:1197
[ERR]
[ERR] BUILD FAILED
[ERR] com.sencha.exceptions.ExProcess: phantomjs process exited with code 2
[ERR]
[ERR] Total time: 13 seconds
[ERR] The following error occurred while executing this line:
F:\erue5\baseErue\Erue\.sencha\app\build-impl.xml:330: The following error occurred while executing this line:
F:\erue5\baseErue\Erue\.sencha\app\slice-impl.xml:296: The following error occurred while executing this line:
F:\erue5\baseErue\Erue\.sencha\app\slice-impl.xml:297: The following error occurred while executing this line:
F:\erue5\baseErue\Erue\.sencha\app\slice-impl.xml:153: com.sencha.exceptions.ExProcess: phantomjs process exited with code 2
Window with maximizable=true crash sencha app build
Aucun commentaire:
Enregistrer un commentaire