Skip to content

Commit

Permalink
Fixes problem for exchange2010 where a minor version bigger than thre…
Browse files Browse the repository at this point in the history
…e does enote Service pack 3 but exchange version string Exchange2010_SP2

Weird MS bug.

Signed-off-by: Michel <[email protected]>
  • Loading branch information
1stsetup committed Jul 15, 2013
1 parent eb8dcc9 commit 2f8b749
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions components/ecExchangeRequest.js
Original file line number Diff line number Diff line change
Expand Up @@ -358,6 +358,7 @@ catch(err) {

if (this.debug) this.logInfo(": ExchangeRequest.error :"+evt.type+", readyState:"+xmlReq.readyState+", status:"+xmlReq.status+", lastStatus:"+this._notificationCallbacks.lastStatus);
if (this.debug) this.logInfo(": ExchangeRequest.error :"+xmlReq.responseText,2);
if (this.debug) this.logInfo(': xmlReq.getResponseHeader("Location") :'+xmlReq.getResponseHeader("Location"),2);

if ((!this.shutdown) && (xmlReq.readyState == 4) && (xmlReq.status == 0)) {
this.logInfo(": ExchangeRequest.error : badCert going to check if it is a cert problem.");
Expand Down
7 changes: 6 additions & 1 deletion interfaces/exchangeStatistics/mivExchangeStatistics.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,12 @@ mivExchangeStatistics.prototype = {
else {
if (aMajorVersion == 14) {
this.serverVersions[aURL] = "Exchange2010";
if (aMinorVersion > 0) this.serverVersions[aURL] = this.serverVersions[aURL] + "_SP" + aMinorVersion;
if (aMinorVersion > 2) {
this.serverVersions[aURL] = this.serverVersions[aURL] + "_SP2";
}
else {
if (aMinorVersion > 0) this.serverVersions[aURL] = this.serverVersions[aURL] + "_SP" + aMinorVersion;
}
}
else {
if (aMajorVersion == 8) {
Expand Down

0 comments on commit 2f8b749

Please sign in to comment.