Options

Is this an outlook integration bug NAV2017

MauddibMauddib Member Posts: 269
Just testing Navision 2017 before upgrading Navision 2015 at the end of this month.

I got an error about a non-initialized Variable when using Outlook integration however. I was told "Microsoft.Dynamics.Nav.Exchange.ExchangeServiceWrapper.LastError" was not initialized.

Looking at Codeunit 5320 I find the following code in two places:

IF ISNULL(ServiceOnServer) THEN BEGIN
IF ServiceOnServer.LastError <> '' THEN
MESSAGE(ServiceOnServer.LastError);
END ELSE
IF ServiceOnServer.LastError <> '' THEN
MESSAGE(ServiceOnServer.LastError);

The code in both cases is identical. It looks to me that one of them (the first one I am guessing) should by MESSAGE(ServiceOnclient.LastError) right? Would I be safe to change it myself until MS fix the bug?

Sign In or Register to comment.