Details
Description
When loading a page from an application that uses icefaces-compat (ice:* components), the compat.js is loaded into the page but there are some dependencies in the compat status.js file on icepush.js and these will throw exceptions. For example, in Chrome's console I see:
Uncaught TypeError: Object #<an Object> has no method 'onBlockingConnectionUnstable'
In the status.js file, the onload function appears to register some functions that are only available in icepush.js (the onBlocking* ones):
onLoad(window, function() {
ice.onSubmitSend(function() {
indctrs && on(indctrs.busy);
});
ice.onSubmitResponse(function() {
indctrs && off(indctrs.busy);
});
ice.onServerError(function() {
indctrs && on(indctrs.serverError);
});
ice.onBlockingConnectionUnstable(function() {
indctrs && on(indctrs.connectionTrouble);
});
ice.onBlockingConnectionLost(function() {
indctrs && on(indctrs.connectionLost);
});
ice.onSessionExpiry(function() {
indctrs && on(indctrs.sessionExpired);
});
});
Uncaught TypeError: Object #<an Object> has no method 'onBlockingConnectionUnstable'
In the status.js file, the onload function appears to register some functions that are only available in icepush.js (the onBlocking* ones):
onLoad(window, function() {
ice.onSubmitSend(function() {
indctrs && on(indctrs.busy);
});
ice.onSubmitResponse(function() {
indctrs && off(indctrs.busy);
});
ice.onServerError(function() {
indctrs && on(indctrs.serverError);
});
ice.onBlockingConnectionUnstable(function() {
indctrs && on(indctrs.connectionTrouble);
});
ice.onBlockingConnectionLost(function() {
indctrs && on(indctrs.connectionLost);
});
ice.onSessionExpiry(function() {
indctrs && on(indctrs.sessionExpired);
});
});
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Koteswararao Pulivarthi
created issue -
Ken Fyten
made changes -
Field | Original Value | New Value |
---|---|---|
Salesforce Case | [] | |
Fix Version/s | 2.0.0 [ 10230 ] | |
Fix Version/s | 2.0-Beta2 [ 10242 ] | |
Assignee Priority | P3 | P2 |
Affects Version/s | 2.0-Beta2 [ 10242 ] | |
Affects Version/s | 2.0-Beta1 [ 10231 ] |
Mircea Toma
made changes -
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Invalid [ 6 ] |
Ken Fyten
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Assignee Priority | P2 |