When execute Host bulk operation(ex, turn on maintence mode on selected hosts),
following javascript exception occur:
Uncaught TypeError: Cannot read property ‘get’ of undefinedApp.MainHostView.App.TableView.extend.getHostsForBulkOperationSuccessCallback
Related javascript code:
getHostsForBulkOperationSuccessCallback():
if (operationData.action === ‘PASSIVE_STATE’) {
hostNamesSkipped = [];
var outOfSyncHosts = App.StackVersion.find().findProperty(‘isCurrent’).get(‘outOfSyncHosts’);
for (var i = 0; i < outOfSyncHosts.length; i++) {
if (hostNames.contains(outOfSyncHosts[i])) {
hostNamesSkipped.push(outOfSyncHosts[i]);
}
}
}