Skip to content

rtmGetTasks errors when filter does not match any tasks #4

@amcameron

Description

@amcameron

Steps to reproduce:
Create a task which:

  1. sets %filter to a value returning no tasks from your RTM account;
  2. calls rtmGetTasks with a JavaScript action.

Expected behaviour:
Following the JavaScript call to rtmGetTasks, the rest of the Task should execute with %tasks unset, or possibly set to an empty string.

Actual behaviour:
A toast notification appears saying, "JavaScriptlet: line 2: Uncaught TypeError: Cannot read property 'length' of undefined". This Javascript error causes premature termination of the Tasker task.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions