-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Security error prevent displaying tasks #56
Comments
@bmarotta Did you ever figure this out? Best I can find is that it's an un-fixed error in Outlook 16 Pro that is corrected in Office 365. Nothing I can find allows access to the Body which defeats the purpose of much of how I use this. |
@traeblain No I never figured it out. At some point I just gave up |
Have you looked at Jan's fork (now on Gitlab). He's still actively
developing it and may have found a way to resolve this? No promises
though...
http://papasmurf.nl/janban/
…On Fri, Feb 14, 2020 at 1:12 PM bmarotta ***@***.***> wrote:
@traeblain <https://github.com/traeblain> No I never figured it out. At
some point I just gave up
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#56?email_source=notifications&email_token=AAJKYCF65MYIY4WRG24QJWLRC4CLLA5CNFSM4IDU3EC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEL2OHJI#issuecomment-586474405>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJKYCEUIJ4G2N72VIUZAHLRC4CLLANCNFSM4IDU3ECQ>
.
|
I have. Checked your fork, @maltehi 's fork, and @janvanveldhuizen 's GitLab version. Like I said, it appears to be an issue with Outlook 2016 Pro Plus, and is corrected in the 365 versions. Not not sure Jan is even aware of the issue or can test against it. Pinged here as this was the first time I've seen someone else with the same problem. |
I have never had this issue. So I would need to install Outlook 2016 in order to test it. |
Unfortunately it's not very telling... var folder = outlookNS.GetDefaultFolder(13);
var restrict = "[Complete] = false";
var tasks = folder.Items.Restrict(restrict);
tasks(1).Body; The I found this years ago, and figured it would start working again with new builds but never did. This error happened around the same time my board stopped working. Had a buddy who's Outlook wasn't updated and his board still worked, until he installed the update. I figured MS would update and it would start working again, but never has...all the builds referenced are not for Professional Plus versions, just 365. |
I'm not sure why, but in my company's Outlook, one cannot get the task body. The following "tweak" fixes the probably partially (because the body is always empty for the taskboard)
var nextTask = tasks(i);
var body = '';
try {
body = nextTask.Body;
}
catch (e) {
console.error('Error getting task body: ' + e.toString() + '(' + (0x100000000 + e.number).toString(16) + ')');
}
array.push({
entryID: nextTask.EntryID,
subject: nextTask.Subject,
priority: nextTask.Importance,
startdate: nextTask.StartDate,
duedate: new Date(nextTask.DueDate),
sensitivity: nextTask.Sensitivity,
categories: nextTask.Categories,
notes: taskExcerpt(body, GENERAL_CONFIG.TASKNOTE_EXCERPT),
status: taskStatus(body),
oneNoteTaskID: getUserProp(nextTask, "OneNoteTaskID"),
oneNoteURL: getUserProp(nextTask, "OneNoteURL")
});
The text was updated successfully, but these errors were encountered: