Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.0 Beta
-
Fix Version/s: 1.0 Beta
-
Component/s: None
-
Labels:None
-
Environment:ICEmobile
Description
The form posted to the server from ICEmobile contains apparent JavaScript function callbacks:
--isPx7OGR9NvcMg3kOuLV23otIMDbgiejL
Content-Disposition: form-data; name="onerror"
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
function (e) {
if (e.status == 'serverError') {
var xmlContent = e.responseXML;
if (containsXMLData(xmlContent)) {
var errorName = xmlContent.getElementsByTagName("error-name")[0].firstChild.nodeValue;
if (errorName && contains(errorName, 'org.icefaces.application.SessionExpiredException')) {
info(logger, 'received session expired message');
sessionExpired();
return;
}
}
info(logger, 'received error message [code: ' + e.responseCode + ']: ' + e.responseText);
broadcast(perRequestServerErrorListeners, [ e.responseCode, e.responseText, containsXMLData(xmlContent) ? xmlContent : null]);
} else if (e.status = 'httpError') {
warn(logger, 'HTTP error [code: ' + e.responseCode + ']: ' + e.description);
broadcast(perRequestNetworkErrorListeners, [ e.responseCode, e.description]);
} else {
error(logger, 'Error [status: ' + e.status + ' code: ' + e.responseCode + ']: ' + e.description);
}
}
Activity
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #26038 | Mon Oct 24 14:08:07 MDT 2011 | ted.goddard | discard options of type function during form serialization, do not serialize button elements ( |
Files Changed | ||||
MODIFY
/icemobile/trunk/icemobile/client/blackberry/container/src/org/icemobile/client/blackberry/blackberry-interface.js
MODIFY /icemobile/trunk/icemobile/client/android/container/assets/icefaces/native-interface.js MODIFY /icemobile/trunk/icemobile/client/ios/container/Shared/native-interface.js |
Ted Goddard
created issue -
Ted Goddard
made changes -
Field | Original Value | New Value |
---|---|---|
Assignee | Steve Maryka [ steve.maryka ] | Ted Goddard [ ted.goddard ] |
Ted Goddard
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Migration
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |