PDA

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


bluethinking
07-20-2007, 11: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);i f(!_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
07-20-2007, 11:42 PM
Please use the search feature before posting bugs to make sure it is not a duplicate. Thanks.

bluethinking
07-21-2007, 02:06 AM
Please use the search feature before posting bugs to make sure it is not a duplicate. Thanks.

:">

mystix
07-21-2007, 02:23 AM
and to nag some more, pls read this thread (http://extjs.com/forum/showthread.php?t=8887) before posting in bugs. ;)