Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.0 Williams
-
Fix Version/s: EE 1.0 RC1
-
Component/s: None
-
Labels:None
-
Environment:jsf 2 icefaces 3
Description
regression was introduced to mobi:ajax support with introduction of panelConfirmation and submitNotification components
and was caught with updated tests which include mobi:ajax listener.
Updated support code and test from ace project for ace:ajax where different and applicable.
and was caught with updated tests which include mobi:ajax listener.
Updated support code and test from ace project for ace:ajax where different and applicable.
Activity
Judy Guglielmin
created issue -
Judy Guglielmin
made changes -
Field | Original Value | New Value |
---|---|---|
Assignee | Steve Maryka [ steve.maryka ] | Judy Guglielmin [ judy.guglielmin ] |
Judy Guglielmin
made changes -
Assignee | Judy Guglielmin [ judy.guglielmin ] | Mircea Toma [ mircea.toma ] |
Judy Guglielmin
made changes -
Assignee | Mircea Toma [ mircea.toma ] | Judy Guglielmin [ judy.guglielmin ] |
Judy Guglielmin
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Migration
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
also noted that 'onComplete', 'onError' and 'onSuccess' for mobi:ajax also not working correctly, so working on that too.
This was not adequately tested in previous releases
noted that code from mobi.AjaxReuqest function(cfg) :-
{ return; }....
function (onBeforeSubmit, onBeforeUpdate, onAfterUpdate, onNetworkError, onServerError) {
var context = {};
onAfterUpdate(function (responseXML) {
if (cfg.onsuccess && !cfg.onsuccess.call(context, responseXML, null /status/, null /xhr/))
mobi.AjaxResponse.call(context, responseXML);
{ cfg.oncomplete.call(context, null /*xhr*/, null /*status*/, context.args); }});
if (cfg.oncomplete) {
onAfterUpdate(function (responseXML)
);
{ cfg.onerror.call(context, null /*xhr*/, responseCode /*status*/, errorDescription /*error description*/) }}
if (cfg.onerror) {
onNetworkError(function (responseCode, errorDescription)
);
{ cfg.onerror.call(context, null /*xhr*/, responseCode /*status*/, responseText /*error description*/) }onServerError(function (responseCode, responseText)
);
}
whos that there is a cfg.onerror.call that is not being interpreted correctly. Original ace code has changed considerably and makes us of jquery for the callback,.