Hi, I'm walking through the Trellinator quick start but ran into an error. Even when the bot is on my board, and I'm commenting from a different account, I don't get a response like I should from helloWorld.
https://community.atlassian.com/t5/Marketplace-Apps-Integrations/Introducing-Trellinator-Automate-Trello-with-Google-Apps-Script/ba-p/925271
This is what I see in InfoLog
["helloWorld executing from queue...","Error executing function: TypeError: Cannot read property 'memberCreator' of undefined\n\nTypeError: Cannot read property 'memberCreator' of undefined\n at Notification.member (apps/trellinator-libs/Notification:1060:70)\n at helloWorld (Commands:10:12)\n at processQueue (apps/trellinator/TrigAccessible:55:43)\n at __GS_INTERNAL_top_function_call__.gs:1:8","helloWorld executing from queue...","Error executing function: TypeError: Cannot read property 'memberCreator' of undefined\n\nTypeError: Cannot read property 'memberCreator' of undefined\n at Notification.member (apps/trellinator-libs/Notification:1060:70)\n at helloWorld (Commands:10:12)\n at processQueue (apps/trellinator/TrigAccessible:55:43)\n at __GS_INTERNAL_top_function_call__.gs:1:8"]
Here's the offending code:
/**
* Return the Member object who initiated this
* notification. Since all notifications are at
* the board level, this will always return
* a valid Member object
* @memberof module:TrellinatorCore.Notification
* @Example
* var notif = new Notification(posted);
* var comment = notif.member().name()+" dug a hole");
* notif.card()
*.postComment(comment);
*/
this.member = function()
{
if(!this.member_object)
this.member_object = new Member(this.notification.action.memberCreator);
return this.member_object;
}
Has anyone else encounter this? thanks in advance.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.