PDA

View Full Version : [bug]Ext.UpdateManager.formUpdate |[response.argument has no properties]



bluethinking
20 Jul 2007, 7:26 PM
Error:
=====

=====================================================================
_17.argument has no properties
UpdateManager(Object responseText=Success responseXML=document)ext-core.js (line 28)
apply()ext-yui-adapter.j... (line 10)
apply(function(), undefined, [Object responseText=Success responseXML=document, Object form=form#frmUploadPhoto.x-form],

undefined)ext-yui-adapter.j... (line 10)
cb()data.js (line 18)
EventManager(Object browserEvent=Event resize button=-1 type=resize)ext-core.js (line 18)
Event(load )yui-utilities.js (line 14)
[Break on this error] Ext.UpdateManager=function(el,_2){el=Ext.get(el);if(!_2&&el.updateManager){retur...



test with "ext-all-debug.js"
=====================================================================
response.argument has no properties
processSuccess(Object responseText=Success responseXML=document)ext-all-debug.js (line 5311)
apply()ext-yui-adapter.j... (line 10)
apply(function(), undefined, [Object responseText=Success responseXML=document, Object form=form#frmUploadPhoto.x-form],

undefined)ext-yui-adapter.j... (line 10)
cb()ext-all-debug.js (line 5089)
h(Object browserEvent=Event resize button=-1 type=resize)ext-all-debug.js (line 1477)
Event(load )yui-utilities.js (line 14)
[Break on this error] if(response.argument.form && response.argument.reset){

=====================================================================

It works well in the version of "Ext1.0.1a".
And didn't work in the version of "Ext1.1 rc1".



var el = Ext.get("divResult");
var mgr = el.getUpdateManager();

mgr.showLoadIndicator = false;//disable loading

startUploadFileBar();
mgr.formUpdate("frmUpload…", "Upload…Ctrl.do", false, function(){
var result = arguments[2].responseText;
if(result == "Success" || result == "…Null"){
$("divResult").innerHTML = "<font color='#3399FF'>successfully.</font>";
window.location = "query….html";
}
});

jack.slocum
20 Jul 2007, 7:42 PM
Please use the search feature before posting bugs to make sure it is not a duplicate. Thanks.

bluethinking
20 Jul 2007, 10:06 PM
Please use the search feature before posting bugs to make sure it is not a duplicate. Thanks.

:">

mystix
20 Jul 2007, 10:23 PM
and to nag some more, pls read this thread (http://extjs.com/forum/showthread.php?t=8887) before posting in bugs. ;)