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
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion